home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 4 / BBS in a Box - Macintosh - Volume IV (January 1992) (BBS in a Box).iso / Files / MacTechNotes / MacTN files by name < prev    next >
Encoding:
Text File  |  1991-11-17  |  160.5 KB  |  3,071 lines  |  [TEXT/QED1]

  1.  Name  =  0 About Mac TNs 04.91.cpt
  2.  Path =  AMUG CD:Files:MacTechNotes:0 About Mac TNs 04.91.cpt
  3.  Size: 24K         Date: 2/15/91         Version: 
  4.  AMUG file information and description:
  5.  0 About Mac TNs 4.91 - contains an index to the 4-91 Tech notes.
  6.  
  7.  Name  =  Fonts (New Format).dd
  8.  Path =  AMUG CD:Files:MacTechNotes:Fonts (New Format).dd
  9.  Size: 32K         Date: 2/15/91         Version: 
  10.  AMUG file information and description:
  11.  Fonts (New Format).dd contains new formated fonts for displaying Tech Notes
  12. in this section.
  13.  
  14.  Name  =  Fonts (Old Format).dd
  15.  Path =  AMUG CD:Files:MacTechNotes:Fonts (Old Format).dd
  16.  Size: 26K         Date: 2/15/91         Version: 
  17.  AMUG file information and description:
  18.  Fonts (Old Format).dd contains old style formated fonts for displaying Tech
  19. Notes in this section.
  20.  
  21.  Name  =  Human Interface Notes.dd
  22.  Path =  AMUG CD:Files:MacTechNotes:Human Interface Notes.dd
  23.  Size: 28K         Date: 2/15/91         Version: 
  24.  AMUG file information and description:
  25.  Human Interface Notes.dd are the Human Interface Tech Notes from Apple 
  26. Computer.
  27.  
  28.  Name  =  Sound Manager chapter (IM).dd
  29.  Path =  AMUG CD:Files:MacTechNotes:Sound Manager chapter (IM).dd
  30.  Size: 80K         Date: 2/15/91         Version: 
  31.  AMUG file information and description:
  32.  Sound Manager chapter (IM).dd contains specialized information on the 
  33. Macintosh Sound Manager.
  34.  
  35.  Name  =  TN.001.System Resources
  36.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.001.System Resources
  37.  Size:  3K         Date: 2/15/91         Version: 
  38.  AMUG file information and description:
  39.  This note formerly described a strategy for dealing with system resources 
  40. from desk accessories. We no longer recommend calling ReleaseResource or 
  41. DetachResource for a system resource. When you are done with a system 
  42. resource, leave it alone; do not try to dispose or release it.
  43.  
  44.  Name  =  TN.002.Compatibility
  45.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.002.Compatibility
  46.  Size: 10K         Date: 2/15/91         Version: 
  47.  AMUG file information and description:
  48.  TN.002.Compatibility - Apple has many enhancements planned for the 
  49. Macintosh family of computers. To help ensure your software’s compatibility
  50. with these enhancements, check each item in this note to be sure that 
  51. you’re following the recommendations. If your software is written in a 
  52. high-level language like Pascal or C and if you adhere to the guidelines 
  53. listed in Inside Macintosh, many of the questions in this note won’t 
  54. concern you. If you develop in assembly language, you should read each 
  55. question carefully.
  56.  
  57.  Name  =  TN.003.Command-Shift Keys
  58.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.003.Command-Shift Keys
  59.  Size:  4K         Date: 2/15/91         Version: 
  60.  AMUG file information and description:
  61.  TN.003.Command-Shift Keys - In the standard system, there are two 
  62. Command-Shift-number key combinations that are automatically captured and 
  63. processed by GetNextEvent. The combinations are: Command-Shift-1 Eject 
  64. internal disk Command-Shift-2 Eject external disk. Numbers from 3 to 9 are 
  65. also captured by GetNextEvent, but are processed by calling ‘FKEY’ 
  66. resources. You can implement your own actions for Command-Shift-number 
  67. combinations for numbers 5 to 9 by defining your own ‘FKEY’ resource.
  68.  
  69.  Name  =  TN.004.GetNewDialog
  70.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.004.GetNewDialog
  71.  Size:  4K         Date: 2/15/91         Version: 
  72.  AMUG file information and description:
  73.  TN.004.GetNewDialog - When calling GetNewDialog to retrieve a dialog 
  74. template from a previously opened resource file, how are error conditions 
  75. indicated to the caller? Unfortunately, they aren’t. The Dialog Manager 
  76. calls GetResource and assumes the returned value is good. Since the Dialog 
  77. Manager doesn’t check, you have two choices. Your first choice is to call 
  78. GetResource for the dialog template, item list, and any resources needed by
  79. items in the item list yourself. But what do you do when you find the 
  80. resources aren’t there? 
  81.  
  82.  Name  =  TN.005.Dialogs from DAs
  83.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.005.Dialogs from DAs
  84.  Size:  4K         Date: 2/15/91         Version: 
  85.  AMUG file information and description:
  86.  TN.005.Dialogs from DAs - When a desk accessory creates a window (including
  87. a modeless dialog window) it must set the windowKind to its refnum—a 
  88. negative number. When the application calls GetNextEvent, the Event Manager
  89. calls SystemEvent, which checks to see if the event belongs to a desk 
  90. accessory. SystemEvent checks the windowKind of the frontmost window, and 
  91. uses the (negative) number for the refnum to make a control call, giving 
  92. the desk accessory a shot at the event. Then SystemEvent returns TRUE, and 
  93. GetNextEvent returns FALSE.
  94.  
  95.  Name  =  TN.006.Owned Resources
  96.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.006.Owned Resources
  97.  Size:  4K         Date: 2/15/91         Version: 
  98.  AMUG file information and description:
  99.  TN.006.Owned Resources - To allow the Font/DA Mover to renumber desk 
  100. accessories as needed when moving them between system files, desk 
  101. accessories should use the “owned resource” protocol described in the 
  102. Resource Manager chapter of Inside Macintosh Volume I.
  103.  
  104.  Name  =  TN.007.Debugging Tips
  105.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.007.Debugging Tips
  106.  Size:  6K         Date: 2/15/91         Version: 
  107.  AMUG file information and description:
  108.  TN.007.Debugging Tips - This presents a few tips which may make your 
  109. debugging easier. Setting memory location 0 to something odd Dereferencing 
  110. nil handles can cause real problems for an application. If location 0 (nil)
  111. is something even, the dereference will not cause an address error, and the
  112. application can run on for quite a while, making tracing back to the 
  113. problem quite difficult. If location 0 contains something odd, such as 
  114. $50FFC001, an address error will be generated immediately when a nil handle
  115. is dereferenced. 
  116.  
  117.  Name  =  TN.008.ABPasIntf Bug
  118.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.008.ABPasIntf Bug
  119.  Size:  3K         Date: 2/15/91         Version: 
  120.  AMUG file information and description:
  121.  TN.008.ABPasIntf Bug - Previous versions of this note described a bug in 
  122. the AppleTalk Pascal Interfaces. This bug was fixed in MPW 1.0 and newer.
  123.  
  124.  Name  =  TN.009.Internets
  125.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.009.Internets
  126.  Size:  6K         Date: 2/15/91         Version: 
  127.  AMUG file information and description:
  128.  TN.009.Internets - Individual AppleTalk networks can be connected together 
  129. as internets. It’s important that your application work across internets; 
  130. this note contains information on the differences between life on a single 
  131. AppleTalk, and life on an internet. You can read about internets (AppleTalk
  132. networks connected by one or more bridges) in Inside AppleTalk. What do you
  133. need to do about them?
  134.  
  135.  Name  =  TN.010.Pinouts
  136.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.010.Pinouts
  137.  Size: 11K         Date: 2/15/91         Version: 
  138.  AMUG file information and description:
  139.  TN.010.Pinouts - This note gives pinouts for Macintosh ports, cables, and 
  140. other products. Inside are pinout descriptions for the Macintosh ports, 
  141. cables, and various other products. Please refer to the Hardware chapter of
  142. Inside Macintosh and the Macintosh Hardware Reference Manual for more 
  143. information, especially about power limits. Note that unconnected pins are 
  144. omitted.
  145.  
  146.  Name  =  TN.011.Memory-Based MW Format
  147.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.011.Memory-Based MW Format
  148.  Size:  3K         Date: 2/15/91         Version: 
  149.  AMUG file information and description:
  150.  TN.011.Memory-Based MW Format - This Technical Note formerly described the 
  151. format of files created by MacWrite® 2.2. Changes since March 1988:  
  152. Updated the Claris address.
  153.  
  154.  Name  =  TN.012.Disk-Based MW Format
  155.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.012.Disk-Based MW Format
  156.  Size:  3K         Date: 2/15/91         Version: 
  157.  AMUG file information and description:
  158.  TN.012.Disk-Based MW Format - This Technical Note formerly described the 
  159. format of files created by MacWrite®, which is now published by Claris.
  160. Changes since March 1988:  Updated the Claris address.
  161.  
  162.  Name  =  TN.013.MW Clipboard Format
  163.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.013.MW Clipboard Format
  164.  Size:  3K         Date: 2/15/91         Version: 
  165.  AMUG file information and description:
  166.  TN.013.MW Clipboard Format - This Technical Note formerly described the 
  167. clipboard format used by MacWrite®, which is now published by Claris.
  168. Changes since March 1988:  Updated the Claris address.
  169.  
  170.  Name  =  TN.014.INIT 31
  171.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.014.INIT 31
  172.  Size:  3K         Date: 2/15/91         Version: 
  173.  AMUG file information and description:
  174.  TN.014.INIT 31 - This note formerly described things that are now covered 
  175. in the System Resource File chapter of Inside Macintosh Volume IV and the 
  176. Start Manager chapter of Inside Macintosh Volume V. Please refer to Inside 
  177. Macintosh.
  178.  
  179.  Name  =  TN.015.Finder 4.1
  180.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.015.Finder 4.1
  181.  Size:  3K         Date: 2/15/91         Version: 
  182.  AMUG file information and description:
  183.  TN.015.Finder 4.1 - This note formerly described Finder 4.1, which is now 
  184. recommended only for use with 64K ROM machines. Information specific to 64K
  185. ROM machines has been deleted from Macintosh Technical Notes for reasons of
  186. clarity.
  187.  
  188.  Name  =  TN.016.MacWorks XL
  189.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.016.MacWorks XL
  190.  Size:  3K         Date: 2/15/91         Version: 
  191.  AMUG file information and description:
  192.  TN.016.MacWorks XL - Earlier versions of this note described MacWorks XL, 
  193. the system software that allowed you to use Macintosh applications on the 
  194. Macintosh XL. Information specific to Macintosh XL machines has been 
  195. deleted from Macintosh Technical Notes for reasons of clarity.
  196.  
  197.  Name  =  TN.017.Low-Level Print Driver
  198.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.017.Low-Level Print Driver
  199.  Size:  3K         Date: 2/15/91         Version: 
  200.  AMUG file information and description:
  201.  TN.017.Low-Level Print Driver - This technical note has been replaced by 
  202. information in Inside Macintosh Volume V. Please refer to the Print Manager
  203. chapter of Inside Macintosh Volume V for information on low-level print 
  204. driver calls.
  205.  
  206.  Name  =  TN.018.TextEdit Conversion
  207.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.018.TextEdit Conversion
  208.  Size:  4K         Date: 2/15/91         Version: 
  209.  AMUG file information and description:
  210.  TN.018.TextEdit Conversion - Text sometimes must be converted between a 
  211. Pascal string and “pure” text in a handle. This note illustrates a way to 
  212. do this using MPW Pascal. Text contained in TextEdit records sometimes must
  213. be passed to routines which expect a Pascal string of type Str255 (a length
  214. byte followed by up to 255 characters). 
  215.  
  216.  Name  =  TN.019.Clickless Sound
  217.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.019.Clickless Sound
  218.  Size:  4K         Date: 2/15/91         Version: 
  219.  AMUG file information and description:
  220.  TN.019.Clickless Sound - Apple currently discourages use of the Sound 
  221. Driver due to compatibility issues.  The hardware support for sound 
  222. designed into the early Macintosh architecture was minimal.  (Many things 
  223. have changed since 1983–1984.)  The new Macintosh computers contain a 
  224. custom chip to provide better support for sound, namely the Apple Sound 
  225. Chip (ASC).  The ASC is present in the complete Macintosh II family as well
  226. as the Macintosh SE/30 and later machines. 
  227.  
  228.  Name  =  TN.020.Server
  229.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.020.Server
  230.  Size: 10K         Date: 2/15/91         Version: 
  231.  AMUG file information and description:
  232.  TN.020.Server - Many applications could benefit from the ability to share 
  233. common data between several Macintoshes, without requiring a file server. 
  234. This technical note discusses one technique for managing this AppleTalk 
  235. communication.
  236.  
  237.  Name  =  TN.021.Picture Opcodes
  238.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.021.Picture Opcodes
  239.  Size: 13K         Date: 2/15/91         Version: 
  240.  AMUG file information and description:
  241.  TN.021.Picture Opcodes - This technical note describes the internal format 
  242. of the QuickDraw picture data structure. This revision corrects some errors
  243. in the opcode descriptions and provides some examples.
  244.  
  245.  Name  =  TN.022.TEScroll Bug
  246.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.022.TEScroll Bug
  247.  Size:  3K         Date: 2/15/91         Version: 
  248.  AMUG file information and description:
  249.  TN.022.TEScroll Bug - A bug in TextEdit causes the following problem: a 
  250. call to TEScroll with no horizontal or vertical displacement (that is, both
  251. dh and dv set to zero) results in disappearance of the insertion point. 
  252. Since such calls do nothing, they should be avoided.
  253.  
  254.  Name  =  TN.023.Font/DA Mover
  255.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.023.Font/DA Mover
  256.  Size:  5K         Date: 2/15/91         Version: 
  257.  AMUG file information and description:
  258.  TN.023.Font/DA Mover - This technical note describes how to make sure that 
  259. your desk accessory will work after being moved by Font/Desk Accessory 
  260. Mover.
  261.  
  262.  Name  =  TN.024.Available Volumes
  263.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.024.Available Volumes
  264.  Size:  5K         Date: 2/15/91         Version: 
  265.  AMUG file information and description:
  266.  TN.024.Available Volumes - Standard File lets the user select one file from
  267. any available volume; it is sometimes necessary for an application to find 
  268. which volumes are present. This technical note gives the proper method of 
  269. accomplishing this.
  270.  
  271.  Name  =  TN.025.A5 & Patching Traps
  272.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.025.A5 & Patching Traps
  273.  Size:  4K         Date: 2/15/91         Version: 
  274.  AMUG file information and description:
  275.  TN.025.A5 & Patching Traps - Future software may allow desk accessories to 
  276. have their own globals by changing register A5 when the accessory is 
  277. entered and exited. This can cause problems for applications that patch 
  278. traps without following certain rules.
  279.  
  280.  Name  =  TN.026.Text Widths
  281.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.026.Text Widths
  282.  Size:  5K         Date: 2/15/91         Version: 
  283.  AMUG file information and description:
  284.  TN.026.Text Widths - This technical note discusses the fact that the width 
  285. of a string is not always the same as the sum of the widths of all the 
  286. characters in the string, due to roundoff error.
  287.  
  288.  Name  =  TN.027.MacDraw’s PICT Format
  289.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.027.MacDraw’s PICT Format
  290.  Size:  4K         Date: 2/15/91         Version: 
  291.  AMUG file information and description:
  292.  TN.027.MacDraw’s PICT Format - This Technical Note formerly described the 
  293. PICT file format used by MacDraw® and the picture comments the MacDraw used
  294. to communicate with the LaserWriter driver. Changes since March 1988:  
  295. Updated the Claris address.
  296.  
  297.  Name  =  TN.028.Finders & Drives
  298.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.028.Finders & Drives
  299.  Size:  5K         Date: 2/15/91         Version: 
  300.  AMUG file information and description:
  301.  TN.028.Finders & Drives - This technical note describes the differences in 
  302. the way the 1.1g, 4.1, 5.0 and newer Finders communicate with foreign 
  303. (non-Sony) disk drives.
  304.  
  305.  Name  =  TN.029.Desktop File
  306.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.029.Desktop File
  307.  Size:  6K         Date: 2/15/91         Version: 
  308.  AMUG file information and description:
  309.  TN.029.Desktop File - This technical note describes the resources found in 
  310. the Desktop file. Note: Don’t base anything critical on the format of the 
  311. Desktop file. AppleShare already uses another scheme; AppleShare volumes 
  312. don’t have Desktop files. The format of this file can, and probably will, 
  313. change in the future.
  314.  
  315.  Name  =  TN.030.Font Height Tables
  316.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.030.Font Height Tables
  317.  Size:  4K         Date: 2/15/91         Version: 
  318.  AMUG file information and description:
  319.  TN.030.Font Height Tables - This technical note describes how the Font 
  320. Manager (except in 64K ROMs) calculates height tables for fonts and how you
  321. can force recalculation.
  322.  
  323.  Name  =  TN.032.Reserved Types
  324.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.032.Reserved Types
  325.  Size:  3K         Date: 2/15/91         Version: 
  326.  AMUG file information and description:
  327.  TN.032.Reserved Types - Your applications and desk accessories can create 
  328. their own resource types. To avoid using type names which have been or will
  329. be used in the system, Apple has reserved all resource type names which 
  330. consist entirely of spaces ($20), lower-case letters ($61 through $7A), and
  331. “international” characters (greater than $7F).
  332.  
  333.  Name  =  TN.033.IW II Paper Motion
  334.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.033.IW II Paper Motion
  335.  Size:  4K         Date: 2/15/91         Version: 
  336.  AMUG file information and description:
  337.  TN.033.IW II Paper Motion - The purpose of this technical note is to answer
  338. the many questions asked about why the paper moves the way it does on the 
  339. ImageWriter II.
  340.  
  341.  Name  =  TN.034.User Items in Dialogs
  342.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.034.User Items in Dialogs
  343.  Size: 10K         Date: 2/15/91         Version: 
  344.  AMUG file information and description:
  345.  TN.034.User Items in Dialogs - The Dialog Manager does not go into detail 
  346. about how to manage user items in dialogs; this Technical Note describes 
  347. the process. Changes since March 1, 1988:  Added MPW C 3.0 code, added a 
  348. _SetPort call to the Pascal example, and noted the necessity and meaning of
  349. enabled items.
  350.  
  351.  Name  =  TN.035.DrawPicture Problem
  352.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.035.DrawPicture Problem
  353.  Size:  3K         Date: 2/15/91         Version: 
  354.  AMUG file information and description:
  355.  TN.035.DrawPicture Problem - This note formerly described a problem with 
  356. DrawPicture that occurred only on 64K ROM machines. Information specific to
  357. 64K ROM machines has been deleted from Macintosh Technical Notes for 
  358. reasons of clarity.
  359.  
  360.  Name  =  TN.036.Drive Queue Elements
  361.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.036.Drive Queue Elements
  362.  Size:  8K         Date: 2/15/91         Version: 
  363.  AMUG file information and description:
  364.  TN.036.Drive Queue Elements - This note expands on Inside Macintosh’s 
  365. definition of the drive queue, which is given in the File Manager chapter.
  366.  
  367.  Name  =  TN.037.Logic Boards
  368.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.037.Logic Boards
  369.  Size:  3K         Date: 2/15/91         Version: 
  370.  AMUG file information and description:
  371.  TN.037.Logic Boards - Earlier versions of this note are obsoleted by 
  372. existence of SysEnvirons, which is documented in Technical Note #129.
  373.  
  374.  Name  =  TN.038.ROM Debugger
  375.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.038.ROM Debugger
  376.  Size:  5K         Date: 2/15/91         Version: 
  377.  AMUG file information and description:
  378.  TN.038.ROM Debugger - The debugger in ROM (not present on the Macintosh 
  379. 128, Macintosh 512, or Macintosh XL) recognizes the following commands: PC 
  380. [expr]   (program counter)Typing PC on a line by itself displays the 
  381. program counter. Typing PC 50000 sets the program counter to $50000.
  382. SM [address [number(s)]]   (set memory) Typing SM on a line by itself 
  383. displays the next 96 bytes of memory. Typing SM 50000 will display memory 
  384. starting at $50000. Typing SM 50000 4849 2054 6865 7265 2120 will set 
  385. memory starting at $50000 to $4849… Subsequently hitting Return will 
  386. increment the display a screen at a time.
  387.  
  388.  Name  =  TN.039.Segment Loader Patch
  389.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.039.Segment Loader Patch
  390.  Size:  3K         Date: 2/15/91         Version: 
  391.  AMUG file information and description:
  392.  TN.039.Segment Loader Patch - This note formerly described a patch to the 
  393. Segment Loader for 64K ROM machines. Information specific to 64K ROM 
  394. machines has been deleted from Macintosh Technical Notes for reasons of 
  395. clarity.
  396.  
  397.  Name  =  TN.040.Finder Flags
  398.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.040.Finder Flags
  399.  Size:  4K         Date: 2/15/91         Version: 
  400.  AMUG file information and description:
  401.  TN.040.Finder Flags - This revision corrects the meanings of bits 6 and 7, 
  402. which were interchanged in the older version of this technical note. 
  403. ResEdit uses these bits incorrectly in versions older than 1.2.
  404.  
  405.  Name  =  TN.041.Off-Screen Bitmaps
  406.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.041.Off-Screen Bitmaps
  407.  Size: 12K         Date: 2/15/91         Version: 
  408.  AMUG file information and description:
  409.  TN.041.Off-Screen Bitmaps - This Technical Note provides an example of 
  410. creating an off-screen bitmap, drawing to it, and then copying from it to 
  411. the screen. Changes since April 1990:  Clarified the section on window 
  412. updates with off-screen bitmaps to explicitly limit these updates to your 
  413. own windows.
  414.  
  415.  Name  =  TN.042.Pascal Routine Pointers
  416.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.042.Pascal Routine Pointers
  417.  Size:  4K         Date: 2/15/91         Version: 
  418.  AMUG file information and description:
  419.  TN.042.Pascal Routine Pointers - Routines passed by pointer are used in 
  420. many places in conjunction with Macintosh system routines. For example, 
  421. filter procedures for modal dialogs are passed by pointer, as are controls’
  422. action procedures (when calling TrackControl), and I/O completion routines.
  423.  
  424.  Name  =  TN.043.Calling LoadSeg
  425.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.043.Calling LoadSeg
  426.  Size:  3K         Date: 2/15/91         Version: 
  427.  AMUG file information and description:
  428.  TN.043.Calling LoadSeg - Earlier versions of this note described a way to 
  429. call the LoadSeg trap, which is used internally by the Segment Loader. We 
  430. no longer recommend calling LoadSeg directly.
  431.  
  432.  Name  =  TN.044.HFS Compatibility
  433.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.044.HFS Compatibility
  434.  Size:  6K         Date: 2/15/91         Version: 
  435.  AMUG file information and description:
  436.  TN.044.HFS Compatibility - This technical note tells you how to make sure 
  437. that your applications run under the Hierarchical File System (HFS).
  438.  
  439.  Name  =  TN.045.ROM
  440.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.045.ROM
  441.  Size:  3K         Date: 2/15/91         Version: 
  442.  AMUG file information and description:
  443.  TN.045.ROM - This note formerly listed the traps from Inside Macintosh 
  444. Volumes I-III. Better references are now available elsewhere.
  445.  
  446.  Name  =  TN.046.Separate Resource Files
  447.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.046.Separate Resource Files
  448.  Size:  4K         Date: 2/15/91         Version: 
  449.  AMUG file information and description:
  450.  TN.046.Separate Resource Files - During application development, you use a 
  451. resource compiler (RMaker or Rez) to convert a resource definition file 
  452. into an executable application. You rarely change anything but your CODE 
  453. resources during development, and the resource compiler spends a lot of 
  454. time compiling other resources which have not changed since they were 
  455. originally created.
  456.  
  457.  Name  =  TN.047.Standard File
  458.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.047.Standard File
  459.  Size: 24K         Date: 2/15/91         Version: 
  460.  AMUG file information and description:
  461.  TN.047.Standard File - This note contains an example program that 
  462. demonstrates how SFPGetFile can be customized using the dialog hook and 
  463. file filter functions.
  464.  
  465.  Name  =  TN.048.Bundles
  466.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.048.Bundles
  467.  Size:  8K         Date: 2/15/91         Version: 
  468.  AMUG file information and description:
  469.  TN.048.Bundles - This note describes what a bundle is and how to create 
  470. one. A bundle is a collection of resources. Bundles can be used for a 
  471. number of different purposes, and are currently used by the Finder ito tie 
  472. an icon to a file type, allowing your application or data file to have its 
  473. own icon.
  474.  
  475.  Name  =  TN.050.Calling SetResLoad
  476.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.050.Calling SetResLoad
  477.  Size:  3K         Date: 2/15/91         Version: 
  478.  AMUG file information and description:
  479.  TN.050.Calling SetResLoad - Calling SetResLoad(FALSE) can be useful if you 
  480. need to get a handle to a resource, without causing the resource to be 
  481. loaded from disk if it isn’t already in memory. This technique is used in 
  482. Technical Note #1. SetResLoad changes the value of the low-memory global 
  483. ResLoad (at location $A5E).
  484.  
  485.  Name  =  TN.051.Debugging w/PurgeMem
  486.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.051.Debugging w/PurgeMem
  487.  Size:  4K         Date: 2/15/91         Version: 
  488.  AMUG file information and description:
  489.  TN.051.Debugging w/PurgeMem - If you are having problems finding bugs like 
  490. handles that aren’t locked down when they should be, or resources that 
  491. aren’t there when they’re supposed to be, there is a handy technique for 
  492. forcing these problems to the surface. 
  493.  
  494.  Name  =  TN.052._Launch from High-Level
  495.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.052._Launch from High-Level
  496.  Size:  3K         Date: 2/15/91         Version: 
  497.  AMUG file information and description:
  498.  TN.052._Launch from High-Level - This Technical Note formerly discussed 
  499. calling _Launch from a high-level language which allows inline assembly 
  500. code. Changes since March 1988:  Merged contents into Technical Note #126.
  501.  
  502.  Name  =  TN.053.MoreMasters Revisited
  503.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.053.MoreMasters Revisited
  504.  Size:  7K         Date: 2/15/91         Version: 
  505.  AMUG file information and description:
  506.  TN.053.MoreMasters Revisited - MoreMasters should be called from CODE 
  507. segment 1. The number of master pointers that a program needs can be 
  508. determined empirically. MoreMasters can be tricked into creating the exact 
  509. number of master pointers desired.
  510.  
  511.  Name  =  TN.054.Limit to Resource Size
  512.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.054.Limit to Resource Size
  513.  Size:  3K         Date: 2/15/91         Version: 
  514.  AMUG file information and description:
  515.  TN.054.Limit to Resource Size - This note formerly described a bug in 
  516. WriteResource on 64K ROM machines. Information specific to 64K ROM machines
  517. has been deleted from Macintosh Technical Notes for reasons of clarity.
  518.  
  519.  Name  =  TN.055.Drawing Icons
  520.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.055.Drawing Icons
  521.  Size: 11K         Date: 2/15/91         Version: 
  522.  AMUG file information and description:
  523.  TN.055.Drawing Icons - Using resources of type ICON allows drawing of icons
  524. in srcOr mode.  Using resources of type ICN# allows for more variety when 
  525. drawing icons.
  526.  
  527.  Name  =  TN.056.Break/CTS
  528.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.056.Break/CTS
  529.  Size:  4K         Date: 2/15/91         Version: 
  530.  AMUG file information and description:
  531.  TN.056.Break/CTS - This technical note documents the event record 
  532. information that gets passed when the serial driver posts an event for a 
  533. break/CTS status change.
  534.  
  535.  Name  =  TN.057.Macintosh Plus
  536.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.057.Macintosh Plus
  537.  Size:  3K         Date: 2/15/91         Version: 
  538.  AMUG file information and description:
  539.  TN.057.Macintosh Plus - This note was originally meant as interim Macintosh
  540. Plus documentation and has been replaced by Inside Macintosh Volume IV, 
  541. which is more complete and more accurate.
  542.  
  543.  Name  =  TN.058.IU Bug
  544.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.058.IU Bug
  545.  Size:  3K         Date: 2/15/91         Version: 
  546.  AMUG file information and description:
  547.  TN.058.IU Bug - This note formerly described a bug in System 2.0, which is 
  548. now recommended only for use with 64K ROM machines. Information specific to
  549. 64K ROM machines has been deleted from Macintosh Technical Notes for 
  550. reasons of clarity.
  551.  
  552.  Name  =  TN.059.Pictures & Clip Regions
  553.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.059.Pictures & Clip Regions
  554.  Size:  4K         Date: 2/15/91         Version: 
  555.  AMUG file information and description:
  556.  TN.059.Pictures & Clip Regions - This note describes a problem that affects
  557. creation of QuickDraw pictures. When a GrafPort is created, the fields in 
  558. the GrafPort are given default values; one of these is the clip region, 
  559. which is set to the rectangle (–32767, –32767, 32767, 32767). If you create
  560. a picture, then call DrawPicture with a destination rectangle that is not 
  561. the same size as the picFrame without ever changing the default clip 
  562. region, nothing will be drawn.
  563.  
  564.  Name  =  TN.060.Narrow GrafPorts
  565.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.060.Narrow GrafPorts
  566.  Size:  3K         Date: 2/15/91         Version: 
  567.  AMUG file information and description:
  568.  TN.060.Narrow GrafPorts - When you draw a character into a GrafPort, your 
  569. program will die with an address error if the width of the GrafPort is 
  570. smaller than the width of the character. If you check before drawing the 
  571. character to see if the GrafPort is wide enough, you can avoid this 
  572. unfortunate tragedy.
  573.  
  574.  Name  =  TN.061.GetItemStyle Bug
  575.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.061.GetItemStyle Bug
  576.  Size:  3K         Date: 2/15/91         Version: 
  577.  AMUG file information and description:
  578.  TN.061.GetItemStyle Bug - This note formerly described a bug (in 
  579. GetItemStyle) which occurs only on 64K ROM machines. Information specific 
  580. to 64K ROM machines has been deleted from Macintosh Technical Notes for 
  581. reasons of clarity.
  582.  
  583.  Name  =  TN.062.Resource Header
  584.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.062.Resource Header
  585.  Size:  3K         Date: 2/15/91         Version: 
  586.  AMUG file information and description:
  587.  TN.062.Resource Header - The section of the Resource Manager chapter of 
  588. Inside Macintosh which describes the internal format of a resource file 
  589. shows an area of the resource header labeled “available for application 
  590. data.” You should not use this area—it is used by the Resource Manager.
  591.  
  592.  Name  =  TN.063.WriteResource Patch
  593.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.063.WriteResource Patch
  594.  Size:  3K         Date: 2/15/91         Version: 
  595.  AMUG file information and description:
  596.  TN.063.WriteResource Patch - This note formerly contained a patch to fix a 
  597. bug in WriteResource on 64K ROM machines. Information specific to 64K ROM 
  598. machines has been deleted from Macintosh Technical Notes for reasons of 
  599. clarity.
  600.  
  601.  Name  =  TN.064.IZANotify
  602.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.064.IZANotify
  603.  Size:  3K         Date: 2/15/91         Version: 
  604.  AMUG file information and description:
  605.  TN.064.IZANotify - Previous versions of this technical note recommended use
  606. of a low memory hook called IAZNotify. We no longer recommend use of 
  607. IAZNotify, since the IAZNotify hook is never called under MultiFinder.
  608.  
  609.  Name  =  TN.065.Mac Plus Pinouts
  610.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.065.Mac Plus Pinouts
  611.  Size:  8K         Date: 2/15/91         Version: 
  612.  AMUG file information and description:
  613.  TN.065.Mac Plus Pinouts - This note gives pinout descriptions for some of 
  614. the Macintosh Plus ports and Macintosh Plus cables that are different than 
  615. the Macintosh 128K and 512K. 
  616.  
  617.  Name  =  TN.066.Which File System?
  618.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.066.Which File System?
  619.  Size:  6K         Date: 2/15/91         Version: 
  620.  AMUG file information and description:
  621.  TN.066.Which File System? - This Technical Note discusses how to determine 
  622. which file system a particular volume is running. Changes since June 1990: 
  623. Removed text about IDs $0001-$0016 being AppleShare volumes; other file 
  624. systems use this range tooUnder certain circumstances it is necessary to 
  625. determine which file system is currently running on a particular volume.  
  626. For example, on a 64K ROM machine, your application (i.e., especially disk 
  627. recovery utilities or disk editors, etc.) may need to check for MFS versus 
  628. HFS.  Note that this is usually not necessary, because all ROMs, except the
  629. original 64K ROMs, include HFS. You may need to check if a particular 
  630. volume is in High Sierra, ISO 9660, or audio CD format.
  631.  
  632.  Name  =  TN.067.Blessed Folder
  633.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.067.Blessed Folder
  634.  Size:  4K         Date: 2/15/91         Version: 
  635.  AMUG file information and description:
  636.  TN.067.Blessed Folder - This technical note describes how to determine 
  637. which folder on an HFS volume is the blessed folder, that is, the folder 
  638. that contains both the System file and the Finder.
  639.  
  640.  Name  =  TN.068.Searching All Dirs
  641.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.068.Searching All Dirs
  642.  Size:  9K         Date: 2/15/91         Version: 
  643.  AMUG file information and description:
  644.  TN.068.Searching All Dirs - This Technical Note provides a simple algorithm
  645. for searching all directories on an HFS volume. Changes since March 1, 
  646. 1988:  Previously we stopped the whole search when we encountered any 
  647. error, which caused trouble with privilege errors on AppleShare volumes.  
  648. Now an error will only stop the enumeration of a particular catalog.
  649.  
  650.  Name  =  TN.069.PBGetCatInfo
  651.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.069.PBGetCatInfo
  652.  Size: 10K         Date: 2/15/91         Version: 
  653.  AMUG file information and description:
  654.  TN.069.PBGetCatInfo - This technical note describes how to set ioFDirIndex 
  655. for PBGetCatInfo. The File Manager chapter of Inside Macintosh volume IV is
  656. not very specific in describing how to use ioFDirIndex when calling 
  657. PBGetCatInfo. It correctly says that ioFDirIndex should be positive if you 
  658. are making indexed calls to PBGetCatInfo (analogous to making indexed calls
  659. to PBGetVInfo as described in Technical Note #24). 
  660.  
  661.  Name  =  TN.070.Single-Sided Disks
  662.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.070.Single-Sided Disks
  663.  Size:  5K         Date: 2/15/91         Version: 
  664.  AMUG file information and description:
  665.  TN.070.Single-Sided Disks - This document explains how to initialize a disk
  666. as either single- or double- sided. It only applies to 800K drives, of 
  667. course.
  668.  
  669.  Name  =  TN.071.Finding Drivers
  670.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.071.Finding Drivers
  671.  Size:  8K         Date: 2/15/91         Version: 
  672.  AMUG file information and description:
  673.  TN.071.Finding Drivers - This note will explain how code can be written to 
  674. determine the reference number of a previously installed driver when only 
  675. the name is known. Changes since 2/86: Since the driver can be purged and 
  676. the DCE still be allocated, the code now tests for dCtlDriver being NIL as 
  677. well.
  678.  
  679.  Name  =  TN.072.LW Optimizing Techniques
  680.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.072.LW Optimizing Techniques
  681.  Size: 12K         Date: 2/15/91         Version: 
  682.  AMUG file information and description:
  683.  TN.072.LW Optimizing Techniques - This Technical Note discusses techniques 
  684. for optimizing code for printing on the LaserWriter. Changes since March 
  685. 1988:  Updated the “Printable Paper Area” and “Memory Considerations” 
  686. sections as well as the printer IDs, moved the error messages from the end 
  687. of the Note to Technical Note #161, A Printing Loop That Cares…, and 
  688. removed the “Spool-A-Page/Print-A-Page” section because Technical Note 
  689. #125, Effect of Spool-A-Page/Print-A-Page on Shared Printers, already 
  690. thoroughly covers this topic.
  691.  
  692.  Name  =  TN.073.Color Printing
  693.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.073.Color Printing
  694.  Size:  9K         Date: 2/15/91         Version: 
  695.  AMUG file information and description:
  696.  TN.073.Color Printing - This discusses color printing in a Macintosh 
  697. application. Whereas the original eight-color model of QuickDraw was 
  698. sufficient for printing in color on the ImageWriter II, the introduction of
  699. Color QuickDraw has created the need for more sophisticated printing 
  700. methods.
  701.  
  702.  Name  =  TN.074.Data In Resource Fork
  703.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.074.Data In Resource Fork
  704.  Size:  3K         Date: 2/15/91         Version: 
  705.  AMUG file information and description:
  706.  TN.074.Data In Resource Fork - Don’t use the resource fork of a file for 
  707. non-resource data. Parts of the system (including the File Manager and the 
  708. Finder) assume that if this fork exists, it will contain valid Resource 
  709. Manager information. PBOpenRF was provided to allow copying of the resource
  710. fork of a file in its entirety, without Resource Manager interpretation. Do
  711. not use it to open “another data fork.”
  712.  
  713.  Name  =  TN.075.Multidisk Installer+
  714.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.075.Multidisk Installer+
  715.  Size:  6K         Date: 5/18/91         Version: 
  716.  AMUG file information and description:
  717.  #75 - Apple’s Multidisk Installer. Revised by - Jon Zap April 1991. Written
  718. by Scott Douglass March 1986. This Technical Note documents Apple’s 
  719. Multidisk Installer, and it is in addition to separate Installer 
  720. documentation which provides the details of writing scripts. Changes since 
  721. February 1991 Revised information about where to find the Multidisk 
  722. Installer reference suite.
  723.  
  724.  Name  =  TN.076.Mac Plus Update Script
  725.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.076.Mac Plus Update Script
  726.  Size:  3K         Date: 2/15/91         Version: 
  727.  AMUG file information and description:
  728.  TN.076.Mac Plus Update Script - Earlier versions of this note described the
  729. Macintosh Plus Update installation script, because it was the first script 
  730. created for the Installer. Since then, many versions of this script have 
  731. been created which no longer match what was described here. In addition, 
  732. many other scripts now exist.
  733.  
  734.  Name  =  TN.077.HFS Ruminations
  735.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.077.HFS Ruminations
  736.  Size: 14K         Date: 2/15/91         Version: 
  737.  AMUG file information and description:
  738.  TN.077.HFS Ruminations - This technical note contains some thoughts 
  739. concerning HFS. HFS numbers. A drive number is a small positive word (e.g. 
  740. 3). A VRefNum (as opposed to a WDRefNum) is a small negative word (e.g. 
  741. $FFFE). A WDRefNum is a large negative word (e.g. $8033). A DirID is a long
  742. word (e.g. 38). The root directory of an HFS volume always has a dirID of 
  743. 2.
  744.  
  745.  Name  =  TN.078.Resource Manager Tips
  746.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.078.Resource Manager Tips
  747.  Size:  5K         Date: 2/15/91         Version: 
  748.  AMUG file information and description:
  749.  TN.078.Resource Manager Tips - This note discusses some problems with the 
  750. Resource Manager and how to work around them. OpenResFile Bug. This section
  751. of the note formerly described a bug in OpenResFile on 64K ROM machines. 
  752. Information specific to 64K ROM machines has been deleted from Macintosh 
  753. Technical Notes for reasons of clarity.
  754.  
  755.  Name  =  TN.079._ZoomWindow
  756.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.079._ZoomWindow
  757.  Size: 11K         Date: 2/15/91         Version: 
  758.  AMUG file information and description:
  759.  TN.079._ZoomWindow - This Technical Note contains some hints about using 
  760. _ZoomWindow. Changes since March 1988:  Added a discussion of and sample 
  761. code to demonstrate recommended window zooming technique in multi-screen 
  762. environments. Basics _ZoomWindow allows a window to be toggled between two 
  763. states (where “state” means size and location):  a default state and a 
  764. user-selectable state.  The default state stays the same unless the 
  765. application changes it, while the user-selectable state is altered when the
  766. user changes the size or location of a zoomable window.  The code to handle
  767. zoomable windows in a main event loop would look something like the 
  768. examples which follow.
  769.  
  770.  Name  =  TN.080.SF Tips
  771.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.080.SF Tips
  772.  Size:  5K         Date: 2/15/91         Version: 
  773.  AMUG file information and description:
  774.  TN.080.SF Tips - SFSaveDisk and CurDirStore. Low-memory location $214 
  775. (SFSaveDisk—a word) contains –1* the vRefNum of the volume that SF is 
  776. displaying (MFS and HFS). It never contains –1* a WDRefNum. Low-memory 
  777. location $398 (CurDirStore—a long word) contains the dirID of the directory
  778. that SF is displaying (HFS only). This information can be particularly 
  779. useful at hook time, when the vRefNum field of the reply record has not yet
  780. been filled in. 
  781.  
  782.  Name  =  TN.081.Caching
  783.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.081.Caching
  784.  Size:  8K         Date: 2/15/91         Version: 
  785.  AMUG file information and description:
  786.  TN.081.Caching - This technical note describes disk and File System caching
  787. on the Macintosh, with particular emphasis on the high-level File System 
  788. cache. Of the three caches used for file I/O, this is the one which could 
  789. have the most impact on your program. Note: This big File System cache is 
  790. not available on 64K ROM machines.
  791.  
  792.  Name  =  TN.082.TextEdit
  793.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.082.TextEdit
  794.  Size:  5K         Date: 2/15/91         Version: 
  795.  AMUG file information and description:
  796.  TN.082.TextEdit - This technical note will point out some bugs (and 
  797. possible workarounds), and other items of interest for the TextEdit 
  798. programmer.
  799.  
  800.  Name  =  TN.083.System Heap Size
  801.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.083.System Heap Size
  802.  Size:  3K         Date: 2/15/91         Version: 
  803.  AMUG file information and description:
  804.  TN.083.System Heap Size - Earlier versions of this note pointed out that, 
  805. due to varying system heap sizes, the application heap does not always 
  806. start at $CB00. The start of the application heap has not been fixed for 
  807. some time now; programs that depend on it never work on the Macintosh SE or
  808. the Macintosh II.
  809.  
  810.  Name  =  TN.084.Edit File Format
  811.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.084.Edit File Format
  812.  Size:  4K         Date: 2/15/91         Version: 
  813.  AMUG file information and description:
  814.  TN.084.Edit File Format - This technical note describes the format of the 
  815. files created by Edit. It has been verified for versions 1.x and 2.0. Edit,
  816. a text editor licensed by Apple and included in the Consulair 68000 
  817. Development System, can read any text-only file whose file type is TEXT. 
  818. Files created by Edit have a creator ID of EDIT. Edit is a disk-based 
  819. editor so the file length is not limited by available memory. 
  820.  
  821.  Name  =  TN.085.GetNextEvent & Blinkin'
  822.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.085.GetNextEvent & Blinkin'
  823.  Size:  5K         Date: 2/15/91         Version: 
  824.  AMUG file information and description:
  825.  TN.085.GetNextEvent & Blinkin' - Wherein arcane mysteries are unraveled so 
  826. you can make the Alarm Clock (or a similar desk accessory) blink the Apple 
  827. menu at the appointed second. Also, why GetNextEvent is a good thing.
  828.  
  829.  Name  =  TN.086.MacPaint Document Format
  830.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.086.MacPaint Document Format
  831.  Size: 12K         Date: 2/15/91         Version: 
  832.  AMUG file information and description:
  833.  TN.086.MacPaint Document Format - This Technical Note describes the 
  834. internal format of a MacPaint® document, which is a standard used by many 
  835. other programs.  This description is the same as that found in the 
  836. “Macintosh Miscellaneous” section of early Inside Macintosh versions.
  837. Changes since October 1988:  Fixed bugs in the example code.
  838.  
  839.  Name  =  TN.087.Error in FCBPBRec
  840.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.087.Error in FCBPBRec
  841.  Size:  4K         Date: 2/15/91         Version: 
  842.  AMUG file information and description:
  843.  TN.087.Error in FCBPBRec - The declaration of a FCBPBRec is wrong in Inside
  844. Macintosh Volume IV  and early versions of MPW. This has been fixed in MPW 
  845. 1.0 and newer. An error was made in the declaration of an FCBPBRec 
  846. parameter block that is used in PBGetFCBInfo calls.  The field ioFCBIndx 
  847. was incorrectly listed as a LONGINT.  The following declaration (found in 
  848. Inside Macintosh):
  849.  
  850.  Name  =  TN.088.Signals
  851.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.088.Signals
  852.  Size: 14K         Date: 2/15/91         Version: 
  853.  AMUG file information and description:
  854.  TN.088.Signals - Signals are a form of intra-program interrupt which can 
  855. greatly aid clean, inexpensive error trapping in stack frame intensive 
  856. languages. A program may invoke the Signal procedure and immediately return
  857. to the last invocation of CatchSignal, including the complete stack frame 
  858. state at that point.
  859.  
  860.  Name  =  TN.089.DrawPicture Bug
  861.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.089.DrawPicture Bug
  862.  Size:  3K         Date: 2/15/91         Version: 
  863.  AMUG file information and description:
  864.  TN.089.DrawPicture Bug - Earlier versions of this note described a bug in 
  865. DrawPicture. This bug never occurred on 64K ROM machines, and has been 
  866. fixed in System 3.2 and newer. Use of Systems older than 3.2 on non-64K ROM
  867. machines is no longer recommended.
  868.  
  869.  Name  =  TN.090.SANE Incompatibilities
  870.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.090.SANE Incompatibilities
  871.  Size:  3K         Date: 2/15/91         Version: 
  872.  AMUG file information and description:
  873.  TN.090.SANE Incompatibilities - Earlier versions of this note described a 
  874. problem with SANE and System 2.0. Use of System 2.0 is only recommended for
  875. Macintosh 128 machines, which contain the 64K ROMs. Information specific to
  876. 64K ROM machines has been deleted from Macintosh Technical Notes for 
  877. reasons of clarity.
  878.  
  879.  Name  =  TN.091.LW PicComments
  880.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.091.LW PicComments
  881.  Size: 33K         Date: 2/15/91         Version: 
  882.  AMUG file information and description:
  883.  TN.091.LW PicComments - This technical note is a continuation of Technical 
  884. Note #72. This technical note discusses the picture comments that the 
  885. LaserWriter driver recognizes. This technical note has been modified to 
  886. include corrected descriptions of the SetLineWidth, PostScriptFile and 
  887. ResourcePS comments and to include some additional warnings.
  888.  
  889.  Name  =  TN.092.Appearance Of Text
  890.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.092.Appearance Of Text
  891.  Size:  7K         Date: 2/15/91         Version: 
  892.  AMUG file information and description:
  893.  TN.092.Appearance Of Text - This technical note describes why text doesn’t 
  894. always look the way you expect depending on the environment you are in. 
  895. There are a number of Macintosh text editing applications where layout is 
  896. critical.  Unfortunately, text on a newer machine sometimes prints 
  897. differently than text on a 64K ROM Macintosh. Let’s examine some 
  898. differences you should expect and why.
  899.  
  900.  Name  =  TN.093.MPW {$LOAD}
  901.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.093.MPW {$LOAD}
  902.  Size:  7K         Date: 2/15/91         Version: 
  903.  AMUG file information and description:
  904.  TN.093.MPW {$LOAD} - This technical note discusses the Pascal {$LOAD} 
  905. directive as well as how to unload the _DataInit and %_MethTables 
  906. segments.{$LOAD} MPW Pascal has a {$LOAD} directive that can dramatically 
  907. speed up compiles.
  908.  
  909.  Name  =  TN.094.Tags
  910.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.094.Tags
  911.  Size:  4K         Date: 2/15/91         Version: 
  912.  AMUG file information and description:
  913.  TN.094.Tags - Apple has decided to eliminate support for file-system tags 
  914. on its future products; this technical note explains this decision.
  915. Some of Apple’s disk products (and some third-party products) have the 
  916. ability to store 532 bytes per sector, instead of the normal 512. Twelve of
  917. the extra bytes are used to store redundant file system information, known 
  918. as “tags”, to be used by a scavenging utility to reconstruct damaged disks.
  919.  
  920.  Name  =  TN.095.Print Dialogs
  921.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.095.Print Dialogs
  922.  Size: 27K         Date: 2/15/91         Version: 
  923.  AMUG file information and description:
  924.  TN.095.Print Dialogs - This technical note discusses how to add your own 
  925. items to the Printing Manager’s dialogs. When the Printing Manager was 
  926. initially designed, great care was taken to make the interface to the 
  927. printer drivers as generic as possible in order to allow applications to 
  928. print without being device-specific.
  929.  
  930.  Name  =  TN.096.SCSI Bugs
  931.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.096.SCSI Bugs
  932.  Size: 14K         Date: 2/15/91         Version: 
  933.  AMUG file information and description:
  934.  TN.096.SCSI Bugs - There are a number of problems in the SCSI Manager; this
  935. note lists the ones we know about, along with an explanation of what we’re 
  936. doing about them. Changes made for the 2/88 release are made to more 
  937. accurately reflect the state of the SCSI Manager. System 4.1 and 4.2 are 
  938. very similar; one bug was fixed in System 4.2.
  939.  
  940.  Name  =  TN.097.PrSetError Problem
  941.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.097.PrSetError Problem
  942.  Size:  3K         Date: 2/15/91         Version: 
  943.  AMUG file information and description:
  944.  TN.097.PrSetError Problem - This note formerly described a problem in Lisa 
  945. Pascal glue for the PrSetError routine. The glue in MPW (and most, if not 
  946. all, third party compilers) does not have this problem.
  947.  
  948.  Name  =  TN.098.Short-Circuit Booleans
  949.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.098.Short-Circuit Booleans
  950.  Size:  3K         Date: 2/15/91         Version: 
  951.  AMUG file information and description:
  952.  TN.098.Short-Circuit Booleans - This note formerly described problems with 
  953. the Lisa Pascal compiler. These problems have been fixed in the MPW Pascal 
  954. compiler.
  955.  
  956.  Name  =  TN.099.SF Bug in System 3.2
  957.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.099.SF Bug in System 3.2
  958.  Size:  3K         Date: 2/15/91         Version: 
  959.  AMUG file information and description:
  960.  TN.099.SF Bug in System 3.2 - This note formerly described a bug in 
  961. Standard File in System 3.2. This bug has been fixed in more recent 
  962. Systems.
  963.  
  964.  Name  =  TN.100.Large Screen Displays
  965.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.100.Large Screen Displays
  966.  Size:  4K         Date: 2/15/91         Version: 
  967.  AMUG file information and description:
  968.  TN.100.Large Screen Displays - A number of third-party developers have 
  969. announced large-screen display peripherals for Macintosh. One of them, 
  970. Radius Inc., has issued a set of guidelines for developers who wish to 
  971. remain compatible with their Radius FPD; unfortunately, one of their 
  972. recommendations can cause system crashes. This note suggests a more correct
  973. approach.
  974.  
  975.  Name  =  TN.101.CreateResFile & PMSP
  976.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.101.CreateResFile & PMSP
  977.  Size:  8K         Date: 2/15/91         Version: 
  978.  AMUG file information and description:
  979.  TN.101.CreateResFile & PMSP - CreateResFile checks to see if a resource 
  980. file with a given name exists, and if it does, returns a dupFNErr (–48) 
  981. error. Unfortunately, to do this check, CreateResFile uses a call that 
  982. follows the Poor Man’s Search Path (PMSP).
  983.  
  984.  Name  =  TN.102.HFS Elucidations
  985.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.102.HFS Elucidations
  986.  Size: 13K         Date: 2/15/91         Version: 
  987.  AMUG file information and description:
  988.  TN.102.HFS Elucidations - This technical note will describe a few problems 
  989. that can occur while using HFS. It will also describe ways to avoid these 
  990. problems. This technical note will discuss the following problems. 1) It is
  991. very important to be careful about how files are opened and closed. There 
  992. must be no more than one close for every open. 2) Don’t use Driver names, 
  993. like .Bout, .Print or .Sony, in place of file names or the file system will
  994. become confused. 3) Be aware of the ioFlVersNum byte in all file calls. A 
  995. number of pieces of the Macintosh system do not use, and may in fact 
  996. ignore, files created with non-zero ioFlVersNums.
  997.  
  998.  Name  =  TN.103.128K ROM/Asm
  999.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.103.128K ROM/Asm
  1000.  Size:  5K         Date: 2/15/91         Version: 
  1001.  AMUG file information and description:
  1002.  TN.103.128K ROM/Asm - When calling MaxApplZone and MoveHHi from assembly 
  1003. language, be sure to get the correct code. MaxApplZone and MoveHHi were 
  1004. marked [Not in ROM] in Inside Macintosh, Volumes I-III . They are ROM calls
  1005. in the 128K ROM. Since they are not in the 64K ROM, if you want your 
  1006. program to work on 64K ROM routines it is necessary to call the routines by
  1007. a JSR to a glue (library) routine instead of using the actual trap macro.
  1008.  
  1009.  Name  =  TN.104.Globals from Asm
  1010.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.104.Globals from Asm
  1011.  Size:  7K         Date: 2/15/91         Version: 
  1012.  AMUG file information and description:
  1013.  TN.104.Globals from Asm - This technical note demonstrates how to access 
  1014. MPW Pascal and MPW C globals from the MPW Assembler. To allow access of MPW
  1015. Pascal globals from the MPW Assembler, you need to identify the variables 
  1016. that you wish to access as external.  To do this, use the {$Z+} compiler 
  1017. option.  Using the {$Z+} option can substantially increase the size of the 
  1018. object file due to the additional symbol information (no additional code is
  1019. generated and the symbol information is stripped by the linker). 
  1020.  
  1021.  Name  =  TN.105.Object Pascal
  1022.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.105.Object Pascal
  1023.  Size:  4K         Date: 2/15/91         Version: 
  1024.  AMUG file information and description:
  1025.  TN.105.Object Pascal - Object Pascal must have a CODE segment named 
  1026. %_MethTables in order to access object methods. In MacApp this is taken 
  1027. care of “behind the scenes” so you don’t have to worry about it . However, 
  1028. if you are doing a straight Object Pascal program, you must make sure that 
  1029. %_MethTables is around when you need it. If it’s unloaded when you call a 
  1030. method, your Macintosh will begin executing wild noncode and die a gruesome
  1031. and horrible death.
  1032.  
  1033.  Name  =  TN.106.VCBs and Drive #s
  1034.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.106.VCBs and Drive #s
  1035.  Size:  4K         Date: 2/15/91         Version: 
  1036.  AMUG file information and description:
  1037.  TN.106.VCBs and Drive #s - The top of page IV-178 in The File Manager 
  1038. chapter of Inside Macintosh in attempts to explain the behavior of two 
  1039. fields in a volume control block when the corresponding disk is offline or 
  1040. ejected. Due to the fact that a little bit is left unsaid, this paragraph 
  1041. is rather misleading. The two fields in question are vcbDrvNum and 
  1042. vcbDRefNum (referred to as ioVDrvInfo and ioVDRefNum in C and Pascal). 
  1043. PBHGetVInfo can be used to access these fields.
  1044.  
  1045.  Name  =  TN.107.Nulls in Filenames
  1046.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.107.Nulls in Filenames
  1047.  Size:  4K         Date: 2/15/91         Version: 
  1048.  AMUG file information and description:
  1049.  TN.107.Nulls in Filenames - Some applications (loosely speaking so as to 
  1050. include Desk Accessories, INITs, and what-have-you) generate or rename 
  1051. special files on the fly so that they are not explicitly named by the user 
  1052. via SFPutFile. Since the Macintosh file system is very liberal about 
  1053. filenames and only excludes colons from the list of acceptable characters, 
  1054. this can lead to some difficulties, both for the end user and for writers 
  1055. of other programs which may see these files.
  1056.  
  1057.  Name  =  TN.108.AddDrive DrvrInstall and
  1058.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.108.AddDrive DrvrInstall and
  1059.  Size:  6K         Date: 2/15/91         Version: 
  1060.  AMUG file information and description:
  1061.  TN.108.AddDrive DrvrInstall and - AddDrive, _DrvrInstall, and _DrvrRemove 
  1062. are used in the sample SCSI driver in the SCSI Development Package, which 
  1063. is available from APDA.  This Technical Note documents the parameters for 
  1064. these calls. Changes since March 1, 1988:  Updated the _DrvrInstall text to
  1065. reflect the use of register A0, which should contain a pointer to the 
  1066. driver when called.  Also added simple glue code for _DrvrInstall and 
  1067. _DrvrRemove since none is available in the MPW interfaces.
  1068.  
  1069.  Name  =  TN.109.Bug in MPW 1.0
  1070.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.109.Bug in MPW 1.0
  1071.  Size:  3K         Date: 2/15/91         Version: 
  1072.  AMUG file information and description:
  1073.  TN.109.Bug in MPW 1.0 - This note formerly described a problem in the 
  1074. language libraries for MPW 1.0. This bug is fixed in MPW 1.0.2, available 
  1075. from APDA.
  1076.  
  1077.  Name  =  TN.110.MPW Stand-Alone Code
  1078.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.110.MPW Stand-Alone Code
  1079.  Size:  4K         Date: 2/15/91         Version: 
  1080.  AMUG file information and description:
  1081.  TN.110.MPW Stand-Alone Code - This Technical Note formerly discussed using 
  1082. MPW Pascal and C to write stand-alone code, such as 'WDEF', 'LDEF', 'INIT',
  1083. and 'FKEY' resources. Changes since February 1990:  Merged the contents of 
  1084. this Note into Technical Note #256, Stand-Alone Code, ad nauseam.This Note 
  1085. formerly discussed using MPW Pascal and C to write stand-alone code.  This 
  1086. information has been expanded and is now contained in Technical Note #256, 
  1087. Stand-Alone Code, ad nauseam.
  1088.  
  1089.  Name  =  TN.111.MoveHHi/SetResPurge
  1090.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.111.MoveHHi/SetResPurge
  1091.  Size:  3K         Date: 2/15/91         Version: 
  1092.  AMUG file information and description:
  1093.  TN.111.MoveHHi/SetResPurge - SetResPurge(TRUE) is called to make the Memory
  1094. Manager call the Resource Manager before purging a block specified by a 
  1095. handle. If the handle is a handle to a resource, and its resChanged bit is 
  1096. set, the resource data will be written out (using WriteResource).
  1097.  
  1098.  Name  =  TN.112.FindDItem
  1099.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.112.FindDItem
  1100.  Size:  3K         Date: 2/15/91         Version: 
  1101.  AMUG file information and description:
  1102.  TN.112.FindDItem - FindDItem is a potentially useful call which returns the
  1103. number of a dialog item given a point in local coordinates and a dialog 
  1104. handle. It returns an item number of –1 if no item’s rectangle overlaps the
  1105. point. This is all well and good, except you don’t get back quite what you 
  1106. would expect.
  1107.  
  1108.  Name  =  TN.113.Boot Blocks
  1109.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.113.Boot Blocks
  1110.  Size:  4K         Date: 2/15/91         Version: 
  1111.  AMUG file information and description:
  1112.  TN.113.Boot Blocks - There are two undocumented features of the Boot 
  1113. Blocks. This note will describe how they currently work. Warning: The 
  1114. format and functionality of the Boot Blocks will change in the future; 
  1115. dependence on this information may cause your program to fail on future 
  1116. hardware or with future System software.
  1117.  
  1118.  Name  =  TN.114.AppleShare/Old Finder
  1119.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.114.AppleShare/Old Finder
  1120.  Size:  3K         Date: 2/15/91         Version: 
  1121.  AMUG file information and description:
  1122.  TN.114.AppleShare/Old Finder - A rumor has been spread that if you use a 
  1123. pre-AppleShare Finder on a workstation to access AppleShare volumes, you 
  1124. can bypass AppleShare’s “access privilege” mechanisms.
  1125.  
  1126.  Name  =  TN.115.Stationery
  1127.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.115.Stationery
  1128.  Size:  6K         Date: 2/15/91         Version: 
  1129.  AMUG file information and description:
  1130.  TN.115.Stationery - With the introduction of AppleShare (Apple’s file 
  1131. server) there are restrictions on self-modification of application resource
  1132. files and the placement of configuration files. This note describes one way
  1133. to get around the necessity for configuration files.
  1134.  
  1135.  Name  =  TN.116.SharingApps
  1136.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.116.SharingApps
  1137.  Size:  7K         Date: 2/15/91         Version: 
  1138.  AMUG file information and description:
  1139.  TN.116.SharingApps - Normally, applications on an AppleShare server volume 
  1140. cannot be executed by more than one user at a time. This technical note 
  1141. explains why, and tells how you can enable your application to be shared.
  1142.  
  1143.  Name  =  TN.117.Compatibility
  1144.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.117.Compatibility
  1145.  Size: 48K         Date: 2/15/91         Version: 
  1146.  AMUG file information and description:
  1147.  TN.117.Compatibility - While creating or revising any program for the 
  1148. Macintosh, you should be aware of the most common reasons why programs fail
  1149. on various versions of the Macintosh. This note will detail some common 
  1150. failure modes, why they occur, and how to avoid them.
  1151.  
  1152.  Name  =  TN.118.Printing Errors
  1153.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.118.Printing Errors
  1154.  Size:  3K         Date: 2/15/91         Version: 
  1155.  AMUG file information and description:
  1156.  TN.118.Printing Errors - This Technical Note formerly described how to 
  1157. check and properly handle errors that occur during printing with the 
  1158. Printing Manager. Changes since March 1988:  Merged contents into Technical
  1159. Note #161. This Note formerly described how to check and properly handle 
  1160. Printing Manager errors.  This information is now contained in Technical 
  1161. Note #161, A Printing Loop That Cares…, which also includes a table of 
  1162. Printing Manager error codes.
  1163.  
  1164.  Name  =  TN.119.Color QuickDraw?
  1165.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.119.Color QuickDraw?
  1166.  Size:  3K         Date: 2/15/91         Version: 
  1167.  AMUG file information and description:
  1168.  TN.119.Color QuickDraw? - This note formely described a way to determine if
  1169. Color QuickDraw is present on a particular machine. We now recommend that 
  1170. you call SysEnvirons to find out, as described in Technical Note #129.
  1171.  
  1172.  Name  =  TN.120.Off-Screen Pixel Map
  1173.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.120.Off-Screen Pixel Map
  1174.  Size: 15K         Date: 2/15/91         Version: 
  1175.  AMUG file information and description:
  1176.  TN.120.Off-Screen Pixel Map - This Technical Note provides a simple example
  1177. of drawing to, then copying from, an off-screen pixel map. Changes since 
  1178. October 1988:  Made changes to the code which convert GDevice color look-up
  1179. tables (clut) to pixel map color look-up tables so _CopyBits will copy the 
  1180. color information correctly.  This information is especially important for 
  1181. color printing.
  1182.  
  1183.  Name  =  TN.121.AppleTalk Interfaces
  1184.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.121.AppleTalk Interfaces
  1185.  Size:  4K         Date: 2/15/91         Version: 
  1186.  AMUG file information and description:
  1187.  TN.121.AppleTalk Interfaces - What you need to do in order to use 
  1188. high-level AppleTalk routines depends upon the interfaces you are using. 
  1189. Some differences are outlined below.
  1190.  
  1191.  Name  =  TN.122.Dev.-Ind. Printing
  1192.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.122.Dev.-Ind. Printing
  1193.  Size:  4K         Date: 2/15/91         Version: 
  1194.  AMUG file information and description:
  1195.  TN.122.Dev.-Ind. Printing - The Printing Manager was designed to give 
  1196. Macintosh applications a device- independent method of printing, but we 
  1197. have provided device-dependent information, such as the contents of the 
  1198. print record. Due to the large number of printer-type drivers becoming 
  1199. available (even for non-printer devices) device independence is more 
  1200. necessary than ever. What this means to you, as a developer, is that we 
  1201. will no longer be providing (or supporting) information regarding the 
  1202. internal structure of the print record. 
  1203.  
  1204.  Name  =  TN.123.LaserWriter ROM Bugs
  1205.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.123.LaserWriter ROM Bugs
  1206.  Size:  5K         Date: 2/15/91         Version: 
  1207.  AMUG file information and description:
  1208.  TN.123.LaserWriter ROM Bugs - These are LaserWriter bugs that your users 
  1209. may encounter when printing from any Macintosh application. These are for 
  1210. your information; you cannot code around them. The bugs described here 
  1211. occur in the 1.0 and 2.0 LaserWriter ROMs.
  1212.  
  1213.  Name  =  TN.124.Low-Level Printing
  1214.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.124.Low-Level Printing
  1215.  Size:  3K         Date: 2/15/91         Version: 
  1216.  AMUG file information and description:
  1217.  TN.124.Low-Level Printing - When you use the low-level printer driver to 
  1218. print, you don’t get the benefits of the error checking that is done when 
  1219. you use the high-level Printing Manager. So, if the user prints to an 
  1220. AppleTalk ImageWriter (including an AppleTalk ImageWriter LQ) that is busy 
  1221. printing another job, the driver doesn’t know whether the printer is busy, 
  1222. offline, or disconnected.  Because of this, PrError will return (and 
  1223. PrintErr will contain) abortErr.
  1224.  
  1225.  Name  =  TN.125.Spool/Print Shared
  1226.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.125.Spool/Print Shared
  1227.  Size:  4K         Date: 2/15/91         Version: 
  1228.  AMUG file information and description:
  1229.  TN.125.Spool/Print Shared - This technical note discusses drawbacks of 
  1230. using the spool-a-page/ print-a-page method of printing. The 
  1231. “spool-a-page/print-a-page” method of printing prints each page of a 
  1232. document as a separate job instead of calling PrPicFile to print the entire
  1233. picture file. Many applications adopted this method of printing to avoid 
  1234. running out of disk space while the ImageWriter driver was spooling the 
  1235. document to disk.
  1236.  
  1237.  Name  =  TN.126.Sub(Launching) H-L Lang
  1238.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.126.Sub(Launching) H-L Lang
  1239.  Size: 14K         Date: 2/15/91         Version: 
  1240.  AMUG file information and description:
  1241.  TN.126.Sub(Launching) H-L Lang - Note: Developer Technical Support takes 
  1242. the view that launching and sublaunching are features which are best 
  1243. avoided for compatibility (and other) reasons, but we want to make sure 
  1244. that when it is absolutely necessary to implement it, it is done in the 
  1245. safest possible way. This Technical Note discusses the “safest” method of 
  1246. calling _Launch from a high-level language that supports inline assembly 
  1247. language with the option of launching or sublaunching another application.
  1248.  
  1249.  Name  =  TN.127.TextEdit EOL
  1250.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.127.TextEdit EOL
  1251.  Size:  4K         Date: 2/15/91         Version: 
  1252.  AMUG file information and description:
  1253.  TN.127.TextEdit EOL - TESetSelect may be used to position the insertion 
  1254. point at the end of a line. There is an ambiguity, though; should the 
  1255. insertion point appear at the end of the preceding line or the start of the
  1256. following one? It is possible to determine what will happen, as you are 
  1257. about to see.
  1258.  
  1259.  Name  =  TN.128.PrGeneral
  1260.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.128.PrGeneral
  1261.  Size: 15K         Date: 2/15/91         Version: 
  1262.  AMUG file information and description:
  1263.  TN.128.PrGeneral - The Printing Manager architecture has been expanded to 
  1264. include a new procedure called PrGeneral. The features described here are 
  1265. advanced, special-purpose features, intended to solve specific problems for
  1266. those applications that need them. The calls to determine printer 
  1267. resolution introduce a good deal of complexity into the application’s code,
  1268. and should be used only when necessary.
  1269.  
  1270.  Name  =  TN.129._Gestalt & _SysEnvirons
  1271.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.129._Gestalt & _SysEnvirons
  1272.  Size:  9K         Date: 2/15/91         Version: 
  1273.  AMUG file information and description:
  1274.  Tech Note 129, _Gestalt & _SysEnvir Copyright(C)1990 Apple Computer. This 
  1275. Technical Note discusses latest changes and enhancements in the _Gestalt 
  1276. and _SysEnvirons calls. Changes since June 1990:  Added new machine and 
  1277. keyboard constants for _SysEnvirons and also added a section on new 
  1278. selectors and response values for _Gestalt. Previous versions of this Note 
  1279. provided the latest documentation on new information the _SysEnvirons trap 
  1280. could return.  DTS will continue to revise this Note to provide this 
  1281. information; however, as the _Gestalt trap is now the preferred method for 
  1282. determining information about a machine environment, this Note will also 
  1283. provide up-to-date information on _Gestalt selectors.
  1284.  
  1285.  Name  =  TN.130.ioCompletion
  1286.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.130.ioCompletion
  1287.  Size:  3K         Date: 2/15/91         Version: 
  1288.  AMUG file information and description:
  1289.  TN.130.ioCompletion - When making synchronous calls to the File Manager, it
  1290. is not necessary to clear ioCompletion field of the parameter block, since 
  1291. that is done for you. Some earlier technotes explicitly cleared 
  1292. ioCompletion, with the knowledge that this was unnecessary, to try to 
  1293. encourage developers to fill in all fields of parameter blocks as indicated
  1294. in Inside Macintosh.  By the way, this is true of all parameter calls—you 
  1295. only have to set fields that are explicitly required.
  1296.  
  1297.  Name  =  TN.131.TextEdit Bugs in 4.2
  1298.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.131.TextEdit Bugs in 4.2
  1299.  Size:  6K         Date: 2/15/91         Version: 
  1300.  AMUG file information and description:
  1301.  TN.131.TextEdit Bugs in 4.2 - This note formerly described the known bugs 
  1302. with the version of Styled TextEdit that was provided with System 4.1. Many
  1303. of these bugs were fixed in System 4.2. This updated Technical Note 
  1304. describes the remaining known problems. TEStylInsert - Calling TEStylInsert
  1305. while the TextEdit record is deactivated causes unpredictable results, so 
  1306. make sure to only call TEStylInsert when the TextEdit record is active.
  1307.  
  1308.  Name  =  TN.132.AppleTalk Interfaces
  1309.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.132.AppleTalk Interfaces
  1310.  Size:  6K         Date: 2/15/91         Version: 
  1311.  AMUG file information and description:
  1312.  TN.132.AppleTalk Interfaces - Technical Note #121 announced that we would 
  1313. be moving to a simplified AppleTalk Manager interface. That interface is 
  1314. available now, as part of MPW 2.0 and newer. Documentation for this new 
  1315. interface is contained in the AppleTalk Manager chapter of Inside Macintosh
  1316. Volume V. This technical note contains some of the preliminary 
  1317. documentation for this interface and some useful points about information 
  1318. about it, and AppleTalk in general.
  1319.  
  1320.  Name  =  TN.133.Is This a Spooler?
  1321.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.133.Is This a Spooler?
  1322.  Size:  4K         Date: 2/15/91         Version: 
  1323.  AMUG file information and description:
  1324.  TN.133.Is This a Spooler? - When the LaserShare spooler is on an AppleTalk 
  1325. network, it acts like a LaserWriter-type device, which can be chosen and 
  1326. communicated with much like a real LaserWriter. Some applications, however,
  1327. must communicate with a LaserWriter directly, not a spooler. If this is 
  1328. true for your application, you can check whether you are actually talking 
  1329. to a real LaserWriter by sending to the LaserWriter the following query:
  1330.  
  1331.  Name  =  TN.134.Boot problems
  1332.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.134.Boot problems
  1333.  Size: 26K         Date: 2/15/91         Version: 
  1334.  AMUG file information and description:
  1335.  TN.134.Boot problems - The death of a hard disk with megabytes worth of 
  1336. data can be exceedingly traumatic. This technical note will describe 
  1337. techniques for recovering a hard disk and the data that is on it. The 
  1338. discussion will also include some tips on how to avoid problems.
  1339.  
  1340.  Name  =  TN.135.Getting thru CUSToms
  1341.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.135.Getting thru CUSToms
  1342.  Size: 27K         Date: 2/15/91         Version: 
  1343.  AMUG file information and description:
  1344.  TN.135.Getting thru CUSToms - This technical note provides a way for 
  1345. developers to allow sophisticated users to add code to an off-the-shelf 
  1346. application.  Using this scheme, the user can easily install the code 
  1347. module; the application has to know how to call it and, optionally, be able
  1348. to respond to a set of predefined calls from the custom package. 
  1349.  
  1350.  Name  =  TN.136.A5 & GrowZone
  1351.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.136.A5 & GrowZone
  1352.  Size:  4K         Date: 2/15/91         Version: 
  1353.  AMUG file information and description:
  1354.  TN.136.A5 & GrowZone - If you have a grow zone function, it may get called 
  1355. when a system routine is trying to allocate memory. Because this can 
  1356. happen, you can’t be guaranteed that register A5 will be correct. If your 
  1357. grow zone function depends on A5, you should save register A5, load A5 from
  1358. the low-memory global CurrentA5 (a long word at $904), and restore the 
  1359. caller’s A5 before you exit.
  1360.  
  1361.  Name  =  TN.137.AppleShare 1.1 Bug
  1362.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.137.AppleShare 1.1 Bug
  1363.  Size:  4K         Date: 2/15/91         Version: 
  1364.  AMUG file information and description:
  1365.  TN.137.AppleShare 1.1 Bug - A bug has been discovered in AppleShare 1.1’s 
  1366. implementation of the AppleTalk Filing Protocol FPMove call. This bug only 
  1367. affects developers implementing custom workstation access code that will 
  1368. access AppleShare 1.1 servers from non-Macintosh systems (such as MS-DOS 
  1369. systems); if the guidelines below are not followed, data loss may result.
  1370.  
  1371.  Name  =  TN.138.KanjiTalk
  1372.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.138.KanjiTalk
  1373.  Size:  4K         Date: 2/15/91         Version: 
  1374.  AMUG file information and description:
  1375.  TN.138.KanjiTalk - This Technical Note describes the minor differences 
  1376. between using KanjiTalk with the Japanese Macintosh Plus and KanjiTalk with
  1377. a standard Macintosh Plus.
  1378.  
  1379.  Name  =  TN.139.Macintosh Plus ROMs
  1380.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.139.Macintosh Plus ROMs
  1381.  Size:  4K         Date: 2/15/91         Version: 
  1382.  AMUG file information and description:
  1383.  TN.139.Macintosh Plus ROMs - Readers Digest condensed version of Macintosh 
  1384. Plus ROM history, or the truth according to Bo3bdar the everpresent: 1st 
  1385. version (Lonely Hearts, checksum 4D 1E EE E1): Bug in the SCSI driver; 
  1386. won’t boot if external drive is turned off. We only produced about one and 
  1387. a half months worth of these. 2nd version (Lonely Heifers, checksum 4D 1E 
  1388. EA E1): Fixed boot bug. This version is the vast majority of beige 
  1389. Macintosh Pluses.
  1390.  
  1391.  Name  =  TN.140.PBHSetVol
  1392.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.140.PBHSetVol
  1393.  Size:  4K         Date: 2/15/91         Version: 
  1394.  AMUG file information and description:
  1395.  TN.140.PBHSetVol - This note explains PBHSetVol, and why its use is not 
  1396. recommended. PBHSetVol, like SetVol and PBSetVol, allows you to set the 
  1397. current default volume and directory to be used with subsequent File 
  1398. Manager calls. Unlike SetVol and PBSetVol, though, PBHSetVol lets you 
  1399. specify the volume and the directory separately, using the ioVRefNum and 
  1400. ioWDDirID fields.
  1401.  
  1402.  Name  =  TN.141.Number of Resources
  1403.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.141.Number of Resources
  1404.  Size:  4K         Date: 2/15/91         Version: 
  1405.  AMUG file information and description:
  1406.  TN.141.Number of Resources - This note describes the limitation of the 
  1407. number of resources in a single resource file. There is a limit to the 
  1408. number of the resources in a single resource file. This limitation is 
  1409. imposed by the resource map. There are two bytes at the end of the resource
  1410. map which are the offset from the beginning of the resource map to the 
  1411. beginning of the resource names list. 
  1412.  
  1413.  Name  =  TN.142.Network Events
  1414.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.142.Network Events
  1415.  Size:  5K         Date: 2/15/91         Version: 
  1416.  AMUG file information and description:
  1417.  TN.142.Network Events - Future System software enhancements will not 
  1418. support network events. This note gives hints on weaning your application 
  1419. from the use of network events.
  1420.  
  1421.  Name  =  TN.143.Don’t Call ADBReInit
  1422.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.143.Don’t Call ADBReInit
  1423.  Size:  3K         Date: 2/15/91         Version: 
  1424.  AMUG file information and description:
  1425.  TN.143.Don’t Call ADBReInit - Because of a bug (which causes auto-repeat) 
  1426. in the ROM version of the Macintosh SE keyboard driver, a patch was placed 
  1427. in System 4.1. If ADBReInit is called, the ROM version of the keyboard 
  1428. driver will be reloaded, and the RAM version of the driver with the patches
  1429. will not be used. Therefore, it is recommended that ADBReInit not be called
  1430. on the Macintosh SE until the problem is fixed. (There is no need to call 
  1431. ADBReInit.) This problem will not occur with the Macintosh II ROM version 
  1432. of the keyboard driver.
  1433.  
  1434.  Name  =  TN.144.Color Monitor Connection
  1435.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.144.Color Monitor Connection
  1436.  Size:  8K         Date: 5/18/91         Version: 
  1437.  AMUG file information and description:
  1438.  #144 - Macintosh Color Monitor Connections. Revised by Jim Luther & Wayne 
  1439. Correia February 1991. Written by Mark Baumwell July 1987. This Technical 
  1440. Note describes how to connect the Macintosh II Video Card, Macintosh IIci 
  1441. built-in video, and Macintosh LC video to third-party monitors. Changes 
  1442. since February 1990 - Added pinout description for the Macintosh LC 
  1443. external video connector and a Macintosh LC to VGA monitor adapter cable.  
  1444. Standardized signal names throughout Note.
  1445.  
  1446.  Name  =  TN.145.Debugger FKEY
  1447.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.145.Debugger FKEY
  1448.  Size:  4K         Date: 2/15/91         Version: 
  1449.  AMUG file information and description:
  1450.  TN.145.Debugger FKEY - This Technical Note formerly discussed showed how to
  1451. write an 'FKEY' to trap to the debugger. Changes since March 1988:  Merged 
  1452. the contents of this Note into Technical Note #256, Stand-Alone Code, ad 
  1453. nauseam. This Note formerly showed how to write an 'FKEY' resource to trap 
  1454. to the debugger.  This information is now an example of writing stand-alone
  1455. code resources in Technical Note #256, Stand-Alone Code, ad nauseam.
  1456.  
  1457.  Name  =  TN.146.MPW’s -mc68881 Option
  1458.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.146.MPW’s -mc68881 Option
  1459.  Size:  9K         Date: 2/15/91         Version: 
  1460.  AMUG file information and description:
  1461.  TN.146.MPW’s -mc68881 Option - This Technical Note discusses MPW’s -mc68881
  1462. option, which represents Extended values in 96 bits (instead of 80, as with
  1463. software SANE), and compatibility issues when using non-SANE system calls 
  1464. that expect 80-bit Extended values. Changes since March 1988:  Added a 
  1465. warning to explicitly check for the presence of an FPU if an application 
  1466. uses floating point instructions and removed a sentence which implied that 
  1467. all Macintosh II-class machines would have built-in FPUs.
  1468.  
  1469.  Name  =  TN.147.Finder Notes
  1470.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.147.Finder Notes
  1471.  Size:  4K         Date: 2/15/91         Version: 
  1472.  AMUG file information and description:
  1473.  TN.147.Finder Notes - The Finder has undergone a couple of changes you 
  1474. should keep in mind when creating the “bundle” information for your 
  1475. application.
  1476.  
  1477.  Name  =  TN.148.Mac II Board Suppliers
  1478.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.148.Mac II Board Suppliers
  1479.  Size:  4K         Date: 2/15/91         Version: 
  1480.  AMUG file information and description:
  1481.  TN.148.Mac II Board Suppliers - This note lists suppliers of parts that may
  1482. be helpful for Macintosh II board developers. If your company supplies 
  1483. these parts, but is not listed here, please send a message to us (at the 
  1484. address on Technical Note #0) and we’ll include you in the next revision of
  1485. this technical note.
  1486.  
  1487.  Name  =  TN.149.Document Names
  1488.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.149.Document Names
  1489.  Size:  4K         Date: 2/15/91         Version: 
  1490.  AMUG file information and description:
  1491.  TN.149.Document Names - Our compatibility testing for LaserShare (Apple’s 
  1492. LaserWriter spooler) has turned up a number of applications that do not 
  1493. provide the Printing Manager with a document name; although this feature is
  1494. not required, it is nice for users that share printers.
  1495.  
  1496.  Name  =  TN.150.SE Disk Driver Bug
  1497.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.150.SE Disk Driver Bug
  1498.  Size:  3K         Date: 2/15/91         Version: 
  1499.  AMUG file information and description:
  1500.  TN.150.SE Disk Driver Bug - A bug in the Macintosh SE ROMs causes the top 
  1501. drive to be slower than the bottom one in two-drive machines. This bug is 
  1502. fixed in System 4.2 and newer.
  1503.  
  1504.  Name  =  TN.151.System Error 33
  1505.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.151.System Error 33
  1506.  Size:  4K         Date: 2/15/91         Version: 
  1507.  AMUG file information and description:
  1508.  TN.151.System Error 33 - System 3.2 introduced a new system error, ID=33, 
  1509. generated by the Memory Manager when it notices that a heap had been 
  1510. corrupted in a certain way. This error is listed in the file “SysErr.a” as 
  1511. “negZcbFreeErr”.
  1512.  
  1513.  Name  =  TN.152.Laser Prep Routines
  1514.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.152.Laser Prep Routines
  1515.  Size:  6K         Date: 2/15/91         Version: 
  1516.  AMUG file information and description:
  1517.  TN.152.Laser Prep Routines - This technical note addresses the issues 
  1518. involved in depending on the procedures and constants defined in the Laser 
  1519. Prep dictionary.
  1520.  
  1521.  Name  =  TN.153.New IU
  1522.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.153.New IU
  1523.  Size:  7K         Date: 2/15/91         Version: 
  1524.  AMUG file information and description:
  1525.  TN.153.New IU - The International Utilities package and the international 
  1526. resources have been changed with System file 4.1 to take advantage of the 
  1527. Script Manager.
  1528.  
  1529.  Name  =  TN.154.Large PICT Files
  1530.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.154.Large PICT Files
  1531.  Size: 11K         Date: 2/15/91         Version: 
  1532.  AMUG file information and description:
  1533.  TN.154.Large PICT Files - Now that we have scanners and other 
  1534. massive-picture producing types of applications, there is a need to address
  1535. the problem of how to display a PICT format object that is bigger than a 
  1536. current PICT resource is allowed to be. Note that this technique applies 
  1537. equally well to version 1 and version 2 (word-opcode) pictures as produced 
  1538. by the Macintosh II.
  1539.  
  1540.  Name  =  TN.155.Handles vs. Pointers
  1541.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.155.Handles vs. Pointers
  1542.  Size:  4K         Date: 2/15/91         Version: 
  1543.  AMUG file information and description:
  1544.  TN.155.Handles vs. Pointers - A handle is a handle and a pointer is a 
  1545. pointer. Applications should avoid embedding non-relocatable objects (that 
  1546. the system assumes will never move) in handles.
  1547.  
  1548.  Name  =  TN.156.Identifying Features
  1549.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.156.Identifying Features
  1550.  Size:  8K         Date: 2/15/91         Version: 
  1551.  AMUG file information and description:
  1552.  TN.156.Identifying Features - This technical note explains how to check at 
  1553. run time to see if specific functionality, such as the “new” TextEdit, is 
  1554. present.
  1555.  
  1556.  Name  =  TN.157.Problem with GetVInfo
  1557.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.157.Problem with GetVInfo
  1558.  Size:  7K         Date: 2/15/91         Version: 
  1559.  AMUG file information and description:
  1560.  TN.157.Problem with GetVInfo - The high-level call GetVInfo (and its 
  1561. low-level counterpart PBGetVInfo) may return inaccurate results for 
  1562. freeBytes when running HFS. The high-level File Manager call GetVInfo 
  1563. returns the number of free bytes on a volume as one of its parameters. 
  1564.  
  1565.  Name  =  TN.158.MultiFinder Questions
  1566.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.158.MultiFinder Questions
  1567.  Size: 12K         Date: 2/15/91         Version: 
  1568.  AMUG file information and description:
  1569.  TN.158.MultiFinder Questions - This technical note provides answers to some
  1570. of the more frequently asked questions about MultiFinder. The development 
  1571. name for MultiFinder was Juggler, so the term “juggle” is used in this 
  1572. technical note to denote a context switch.
  1573.  
  1574.  Name  =  TN.159.Hard Disk Hacking
  1575.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.159.Hard Disk Hacking
  1576.  Size:  4K         Date: 2/15/91         Version: 
  1577.  AMUG file information and description:
  1578.  TN.159.Hard Disk Hacking - For those of a technical bent with some extra 
  1579. time, you can build your own hard disk system from a cheap SCSI drive and a
  1580. driver that you write. This is not a project for those short on time, so 
  1581. beware.
  1582.  
  1583.  Name  =  TN.160.Key Mapping
  1584.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.160.Key Mapping
  1585.  Size: 13K         Date: 5/18/91         Version: 
  1586.  AMUG file information and description:
  1587.  #160 - Key Mapping. Revised by Jim Luther, Peter Edberg, & Imran Sayeed 
  1588. February 1991. Written by Cameron Birse September 1987. This Technical 
  1589. Note describes the Macintosh family key code mapping scheme when running 
  1590. System file 4.1 and later. This Note also provides a “safe” method for 
  1591. remapping keyboards. Changes since October 1990 - Added a section on how 
  1592. 'KMAP' resources are matched to specific ADB keyboard types and a section 
  1593. on the original Macintosh and Macintosh Plus keyboards.
  1594.  
  1595.  Name  =  TN.161.Printing Loop That Cares
  1596.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.161.Printing Loop That Cares
  1597.  Size: 16K         Date: 2/15/91         Version: 
  1598.  AMUG file information and description:
  1599.  TN.161.Printing Loop That Cares - This Technical Note discusses opening and
  1600. closing the Printing Manager with calls to _PrOpen and _PrClose as well as 
  1601. how to handle errors at print time. Changes since October 1989:  Added the 
  1602. section on error checking, incorporating the error code descriptions 
  1603. formerly found in Technical Note #72, Optimizing For The 
  1604. LaserWriter—Techniques and an updated version of the information formerly 
  1605. found in Technical Note #118, How To Check and Handle Printing Errors.
  1606.  
  1607.  Name  =  TN.162.MPW 2.0 Pascal Bug
  1608.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.162.MPW 2.0 Pascal Bug
  1609.  Size:  3K         Date: 2/15/91         Version: 
  1610.  AMUG file information and description:
  1611.  TN.162.MPW 2.0 Pascal Bug - This note formerly described a bug in the MPW 
  1612. 2.0 Pascal compiler. This bug has been fixed in MPW 2.0.2.
  1613.  
  1614.  Name  =  TN.163.Colorizing CopyBits
  1615.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.163.Colorizing CopyBits
  1616.  Size:  7K         Date: 2/15/91         Version: 
  1617.  AMUG file information and description:
  1618.  TN.163.Colorizing CopyBits - Inside Macintosh Volume V states that the 
  1619. foreground and background colors are applied to an image during a CopyBits 
  1620. or CopyMask call. Accidental use of this feature can create bizarre 
  1621. coloring effects. This note explains what happens, how to avoid problems, 
  1622. and how to use it.
  1623.  
  1624.  Name  =  TN.164.MPW C Functions
  1625.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.164.MPW C Functions
  1626.  Size:  4K         Date: 2/15/91         Version: 
  1627.  AMUG file information and description:
  1628.  TN.164.MPW C Functions - Here’s the low-down on when C functions need not 
  1629. be declared in include files. “The include files are all screwed up!” 
  1630. This is a common misconception people have when they look through the MPW C
  1631. include files.  People report that the declaration of a ROM or system call 
  1632. foo() has been mistakenly left out of this or that include file.  Here’s 
  1633. the low-down on when functions do not have to be declared in an include 
  1634. file.
  1635.  
  1636.  Name  =  TN.165.AS Drop Folder
  1637.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.165.AS Drop Folder
  1638.  Size:  4K         Date: 2/15/91         Version: 
  1639.  AMUG file information and description:
  1640.  TN.165.AS Drop Folder - This technical note outlines the steps an 
  1641. application must take to create files inside AppleShare drop folders. The 
  1642. AppleShare File Server allows the creation of drop folders. These are 
  1643. folders for which the user has the Make Changes privilege (write access), 
  1644. but not See Files (read access) or See Folders (search access). For an 
  1645. application to create a file in such a folder, the following procedure must
  1646. be executed in strict order:
  1647.  
  1648.  Name  =  TN.166.C Glue
  1649.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.166.C Glue
  1650.  Size:  5K         Date: 2/15/91         Version: 
  1651.  AMUG file information and description:
  1652.  TN. 166.C Glue - MPW 2.0 includes new C interfaces to ROM routines which no
  1653. longer do string and point conversions. These new interfaces are described 
  1654. here. In MPW prior to 2.0, the C interfaces to Macintosh OS and Toolbox 
  1655. routines that had strings or points as arguments required following these 
  1656. rules 1. Strings must be passed as C strings (null terminated). 2. Points 
  1657. must be passed by address.
  1658.  
  1659.  Name  =  TN.167.AS Foreground
  1660.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.167.AS Foreground
  1661.  Size:  4K         Date: 2/15/91         Version: 
  1662.  AMUG file information and description:
  1663.  TN.167.AS Foreground - This technical note outlines the requirements and 
  1664. restrictions of an AppleShare foreground application. This information 
  1665. pertains to AppleShare versions 1.1 and newer. An AppleShare server 
  1666. requires a dedicated Macintosh. The server, however, is implemented as an 
  1667. interrupt-driven application that runs in the system heap of the server 
  1668. machine.
  1669.  
  1670.  Name  =  TN.168.HyperCard and You
  1671.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.168.HyperCard and You
  1672.  Size: 17K         Date: 5/18/91         Version: 
  1673.  AMUG file information and description:
  1674.  #168 HyperCard And You - This Technical Note describes some HyperCard 
  1675. anomalies with which developers should be familiar when developing 
  1676. stackware, and it documents differences between HyperCard versions where 
  1677. appropriate. Changes since November 1987 - Consolidated Technical Notes 
  1678. 168, HyperCard 'snd ' Resources; 169, HyperCard 1.0.1 and 1.1 Anomalies; 
  1679. and 170, HyperCard File Format while adding and updating material with 
  1680. regard to HyperCard 2.0 and condensing or obsoleting information on bugs 
  1681. which have been addressed.
  1682.  
  1683.  Name  =  TN.169.HyperCard Anomalies
  1684.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.169.HyperCard Anomalies
  1685.  Size:  4K         Date: 5/18/91         Version: 
  1686.  AMUG file information and description:
  1687.  #169 HyperCard 1.0.1 And 1.1 Anomalies. Revised by Jeremy J. Bornstein, 
  1688. death dwarf of minraud February 1991. Written by Chris Knepper November 
  1689. 1987. This Technical Note formerly described some HyperCard anomalies 
  1690. between HyperCard 1.0.1 and 1.1. Changes since March 1988. Merged contents
  1691. into Technical Note #168, HyperCard And You: Economy Edition.
  1692.  
  1693.  Name  =  TN.170.HyperCard Format
  1694.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.170.HyperCard Format
  1695.  Size:  4K         Date: 5/18/91         Version: 
  1696.  AMUG file information and description:
  1697.  #170 HyperCard File Format. Revised by jeremy j. bornstein, death dwarf 
  1698. of minraud February 1991. Written by Chris Knepper November 1987
  1699. This Technical Note formerly discussed the proprietary nature of the 
  1700. HyperCard file format and Apple’s policy not to license it. Changes since 
  1701. March 1988:  Merged contents into Technical Note #168, HyperCard And You 
  1702. Economy Edition. This Note formerly discussed the proprietary nature of the
  1703. HyperCard file format and Apple’s policy not to license it.  This 
  1704. information has been updated for HyperCard 2.0 under Claris and integrated 
  1705. into Technical Note #168, HyperCard And You - Economy Edition.
  1706.  
  1707.  Name  =  TN.171._PackBits Data Format
  1708.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.171._PackBits Data Format
  1709.  Size:  6K         Date: 2/15/91         Version: 
  1710.  AMUG file information and description:
  1711.  TN.171._PackBits Data Format - This Technical Note describes the format of 
  1712. data packed by the Toolbox utility _PackBits.  Although you can simply 
  1713. unpack these files using the _UnPackBits call, we provide this information 
  1714. here for the terminally curious and for those manipulating MacPaint 
  1715. documents or PICT files by hand.  Warning:  This information is subject to 
  1716. change. Changes since March 1988:  Added information on PICT files which 
  1717. contain data from the _PackBits routine.
  1718.  
  1719.  Name  =  TN.172.Popup MDEF Message
  1720.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.172.Popup MDEF Message
  1721.  Size:  6K         Date: 2/15/91         Version: 
  1722.  AMUG file information and description:
  1723.  TN.172.Popup MDEF Message - In order to support popup menus, menu 
  1724. definition procedures (MDEFs) must now respond to a new message, mPopupMsg.
  1725. mPopupMsg is message number 3. When your MDEF is called with this message, 
  1726. it should calculate the rectangle in which the popup menu should appear.
  1727.  
  1728.  Name  =  TN.173.PrGeneral Bug
  1729.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.173.PrGeneral Bug
  1730.  Size:  5K         Date: 2/15/91         Version: 
  1731.  AMUG file information and description:
  1732.  TN.173.PrGeneral Bug - This technical note documents a bug in the 
  1733. implementation of the PrGeneral procedure in the LaserWriter driver version
  1734. 4.0. The bug has to do with the format of the information returned by the 
  1735. GetRslData opcode. This technical note will also describe a workaround for 
  1736. the problem.
  1737.  
  1738.  Name  =  TN.174.PrintAction
  1739.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.174.PrintAction
  1740.  Size:  7K         Date: 2/15/91         Version: 
  1741.  AMUG file information and description:
  1742.  TN.174.PrintAction - This technical note describes how Print Drivers can 
  1743. access the Script Manager Print Action routine to print unconventional 
  1744. text, such as Japanese or Arabic.
  1745.  
  1746.  Name  =  TN.175.SetLineWidth Revealed
  1747.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.175.SetLineWidth Revealed
  1748.  Size:  9K         Date: 2/15/91         Version: 
  1749.  AMUG file information and description:
  1750.  TN.175.SetLineWidth Revealed - This technical note describes the internal 
  1751. implementation, and correct method of using, the SetLineWidth Picture 
  1752. Comment. The SetLineWidth picture comment provides a way of accessing 
  1753. PostScript’s 'setlinewidth' operator.
  1754.  
  1755.  Name  =  TN.176.Installing SIMMs ƒ.dd
  1756.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.176.Installing SIMMs ƒ.dd
  1757.  Size:101K         Date: 2/15/91         Version: 
  1758.  AMUG file information and description:
  1759.  Tech Note 176 - This Technical Note describes the different possible memory
  1760. configurations of all models of the Macintosh family that use Single 
  1761. In-line Memory Modules (SIMMs) as well as the non-SIMM memory upgrade 
  1762. options of the Macintosh Portable and Macintosh Classic.  (Special thanks 
  1763. to Brian Howard for the Macintosh Plus and original SE drawings, and for 
  1764. the inspiration for the other drawings.)  This Note also describes the 
  1765. obstacles to using four megabit (Mbit) DRAM SIMMs in Apple’s Macintosh 
  1766. products to date. Changes since June 1990, Added Macintosh Classic, LC, and
  1767. IIsi configurations.
  1768.  
  1769.  Name  =  TN.177.WNE Bug/1.0
  1770.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.177.WNE Bug/1.0
  1771.  Size:  4K         Date: 2/15/91         Version: 
  1772.  AMUG file information and description:
  1773.  TN.177.WNE Bug/1.0 - This Technical Note discusses a bug in WaitNextEvent 
  1774. in MultiFinder 1.0. This bug only occurs when WaitNextEvent is called from 
  1775. the background. This bug will be fixed in the next release of MultiFinder. 
  1776. Change since 11/87: the bug will be fixed in Systems with versions greater 
  1777. than $04FF.
  1778.  
  1779.  Name  =  TN.178.Sorting
  1780.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.178.Sorting
  1781.  Size: 17K         Date: 2/15/91         Version: 
  1782.  AMUG file information and description:
  1783.  TN.178.Sorting - This technical note describes how to modify the standard 
  1784. string comparison by constructing an itl2 resource. Developers may want to 
  1785. modify the standard string comparison if Apple’s comparison doesn’t meet 
  1786. their needs or if Apple has not written a string comparison routine for the
  1787. language that concerns them.
  1788.  
  1789.  Name  =  TN.179.ioNamePtr
  1790.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.179.ioNamePtr
  1791.  Size:  3K         Date: 2/15/91         Version: 
  1792.  AMUG file information and description:
  1793.  TN.179.ioNamePtr - It is very important to set ioNamePtr when making PB 
  1794. calls, even if you don’t want  those calls to return a name.  Whenever 
  1795. Inside Macintosh indicates that ioNamePtr is either required for input or 
  1796. returns something, you must set ioNamePtr to either nil (if you aren’t 
  1797. using a name) or to point to storage for a Str255. If you don’t explicitly 
  1798. set ioNamePtr, strange and unusual crashes may occur, depending on the 
  1799. machine/configuration your code is run on.
  1800.  
  1801.  Name  =  TN.180.MultiFinder Miscellanea
  1802.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.180.MultiFinder Miscellanea
  1803.  Size: 24K         Date: 2/15/91         Version: 
  1804.  AMUG file information and description:
  1805.  TN.180.MultiFinder Miscellanea - This Technical Note discusses MultiFinder 
  1806. issues of which programmers should be aware. Changes since June 1988: 
  1807. Updated and generalized sample code to reflect new MPW 3.0 calls in both C 
  1808. and Pascal for saving and restoring A5 for interrupt code that accesses 
  1809. application globals.  Removed text that can be found in Programmer’s Guide 
  1810. to MultiFinder, and added a note about _PostEvent.
  1811.  
  1812.  Name  =  TN.181.Picture Comments
  1813.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.181.Picture Comments
  1814.  Size:  4K         Date: 2/15/91         Version: 
  1815.  AMUG file information and description:
  1816.  TN.181.Picture Comments - Application-specific picture comment conflict and
  1817. registration is addressed, along with Developer Technical Support’s method 
  1818. for solving it. I will assume that the nature and usefulness of picture 
  1819. comments are already well known.
  1820.  
  1821.  Name  =  TN.182.WordBreak Tables
  1822.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.182.WordBreak Tables
  1823.  Size: 12K         Date: 2/15/91         Version: 
  1824.  AMUG file information and description:
  1825.  TN.182.WordBreak Tables - This technical note describes how to construct 
  1826. auxiliary break tables for use with the FindWord routine in the Script 
  1827. Manager. Constructing break tables - The FindWord algorithm finds word 
  1828. boundaries by determining where words should not be broken. For example, 
  1829. “re-do” is one word: it should not be broken at the hyphen. In other words,
  1830. a sequence of the form: (letter, hyphen, letter) should not be broken 
  1831. between the first and second or second and third character.
  1832.  
  1833.  Name  =  TN.183.Position ind PS
  1834.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.183.Position ind PS
  1835.  Size:  7K         Date: 2/15/91         Version: 
  1836.  AMUG file information and description:
  1837.  TN.183.Position ind PS - This technical note describes a method for 
  1838. inserting position-independent PostScript into QuickDraw pictures. There is
  1839. a problem with pictures that contain PostScript code. Sometimes the 
  1840. PostScript code that is inserted into the picture is dependent on the 
  1841. position of the picture on the page. The problem arises when these pictures
  1842. are cut or copied from their original position, and pasted into another 
  1843. position or even into another document. The PostScript code will not know 
  1844. the new location of the picture, and will not execute correctly.
  1845.  
  1846.  Name  =  TN.184.Notification Manager
  1847.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.184.Notification Manager
  1848.  Size: 12K         Date: 2/15/91         Version: 
  1849.  AMUG file information and description:
  1850.  TN.184.Notification Manager - This Technical Note describes the 
  1851. Notification Manager, the part of the operating system that lets an 
  1852. application, desk accessory, or driver alert the user. Changes since 
  1853. October 1989:  Clarified the section on error handling for calls to 
  1854. _NMInstall.
  1855.  
  1856.  Name  =  TN.185.OpenRFPerm
  1857.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.185.OpenRFPerm
  1858.  Size:  4K         Date: 2/15/91         Version: 
  1859.  AMUG file information and description:
  1860.  TN.185.OpenRFPerm - This note corrects an error in the description of the 
  1861. Resource Manager routine OpenRFPerm found in Inside Macintosh Volume IV.
  1862.  
  1863.  Name  =  TN.186.Lock, Unlock the Range
  1864.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.186.Lock, Unlock the Range
  1865.  Size:  8K         Date: 5/18/91         Version: 
  1866.  AMUG file information and description:
  1867.  #186 - Lock, Unlock the Range. This Technical Note discusses the 
  1868. _PBLockRange and _PBUnlockRange routines; how they act on local and shared 
  1869. volumes and why you should not set the ioPosMode field to fsFromLEOF in the
  1870. parameter block for those routines when accessing a file on an AppleShare 
  1871. volume. Changes since April 1988:  Added information on how _PBLockRange 
  1872. and _PBUnlockRange really work.
  1873.  
  1874.  Name  =  TN.187.ioPosOffset
  1875.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.187.ioPosOffset
  1876.  Size:  3K         Date: 2/15/91         Version: 
  1877.  AMUG file information and description:
  1878.  TN.187.ioPosOffset - The Device Manager chapter of Inside Macintosh Volume 
  1879. II says that ioPosOffset is passed to and returned by Read and Write calls.
  1880. It also says that “After the read [or write] is completed, the position is 
  1881. returned in ioPosOffset…” Actually, ioPosOffset is not changed by either 
  1882. call. Also note that device drivers should only look at the dCtlPosition 
  1883. field of the DCE, and should not look directly at the ioPosOffset field of 
  1884. the parameter block. The Device Manager sets up dCtlPosition for the 
  1885. driver, taking into account both the ioPosMode and the ioPosOffset.
  1886.  
  1887.  Name  =  TN.188.ChangedResource
  1888.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.188.ChangedResource
  1889.  Size:  4K         Date: 2/15/91         Version: 
  1890.  AMUG file information and description:
  1891.  TN.188.ChangedResource - The toolbox trap ChangedResource is used to inform
  1892. the Resource Manager that the contents of a resource have changed and 
  1893. should be written to disk. The actual write occurs on the next call to 
  1894. WriteResource (for the specific resource) or UpdateResFile (for the 
  1895. resource file containing the specified resource). When called, 
  1896. ChangedResource reserves enough disk space to contain the changed resource.
  1897. A little-known “feature” of ChangedResource is that it reserves disk space 
  1898. every time it is called.
  1899.  
  1900.  Name  =  TN.189.Version Territory
  1901.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.189.Version Territory
  1902.  Size: 13K         Date: 2/15/91         Version: 
  1903.  AMUG file information and description:
  1904.  TN.189.Version Territory - This Technical Note describes the 'vers' 
  1905. resource supported by Finder 6.1 and later. Changes since October 1988: 
  1906. Changed MPW C code to reflect the changes in MPW C 3.1. Finder 6.1 
  1907. introduced a feature which allows the creator of a file to identify the 
  1908. version of that file as well as the version of a set of files which 
  1909. includes that file.  These version numbers are stored in 'vers' resources, 
  1910. and each contains a BCD form of the version number and a longer version 
  1911. message (which the Finder displays in the Get Info window for each file).
  1912.  
  1913.  Name  =  TN.190.WDs & MultiFinder
  1914.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.190.WDs & MultiFinder
  1915.  Size:  4K         Date: 2/15/91         Version: 
  1916.  AMUG file information and description:
  1917.  TN.190.WDs & MultiFinder - This technical note describes the way that 
  1918. working directories are handled under MultiFinder. Some versions of 
  1919. Technical Note #77 claim that you can open working directories with a 
  1920. unique ioWDProcID and that they will only be deallocated when “the system 
  1921. is rebooted.”
  1922.  
  1923.  Name  =  TN.191.Font Names
  1924.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.191.Font Names
  1925.  Size:  9K         Date: 2/15/91         Version: 
  1926.  AMUG file information and description:
  1927.  TN.191.Font Names - This note recommends the use of font names rather than 
  1928. font numbers. The Font Manager chapter of Inside Macintosh Volume IV claims
  1929. that font family numbers 0 through 127 are reserved for use by Apple, and 
  1930. numbers 128 through 255 are assigned by Apple for fonts created by software
  1931. developers. This is no longer true. Developer Technical Support does not 
  1932. assign font family numbers. You should only use font numbers to reference 
  1933. the system font (font 0) and application default font (font 1). All other 
  1934. fonts should be identified by name. The Font/DA Mover will renumber a font 
  1935. when moving it into a file containing a conflicting font family.
  1936.  
  1937.  Name  =  TN.192.Surprises in LW 5.0
  1938.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.192.Surprises in LW 5.0
  1939.  Size: 10K         Date: 2/15/91         Version: 
  1940.  AMUG file information and description:
  1941.  TN.192.Surprises in LW 5.0 - This Technical Note describes some changes in 
  1942. version 5.0 and later LaserWriter drivers. Changes since April 1988 - 
  1943. Described a bug in 5.x which is fixed in 6.0 and later, and reiterated a 
  1944. warning about storing fonts in an application. With the release of 
  1945. LaserWriter 5.0 and background printing, a few changes had to be made to 
  1946. the LaserWriter driver.  Although these changes were transparent to most 
  1947. applications, some have had problems.  Most of these problems are related 
  1948. to use of unsupported features.  This Note details a partial list of the 
  1949. changes.
  1950.  
  1951.  Name  =  TN.193.So Many Bitmaps…
  1952.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.193.So Many Bitmaps…
  1953.  Size:  6K         Date: 2/15/91         Version: 
  1954.  AMUG file information and description:
  1955.  TN.193.So Many Bitmaps… - This Technical Note discusses the routine 
  1956. BitMapToRegion, which converts a bitmap to a region, and is available in 
  1957. the 32-Bit QuickDraw INIT and from Apple Software Licensing.
  1958. Changes since October 1989:  Added trap definitions for developers using 
  1959. the 32-Bit QuickDraw version of this routine without the correct MPW 
  1960. include file.
  1961.  
  1962.  Name  =  TN.194.WMgrPortability
  1963.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.194.WMgrPortability
  1964.  Size:  7K         Date: 2/15/91         Version: 
  1965.  AMUG file information and description:
  1966.  TN.194.WMgrPortability - Where WMgrPort (the Window Manager’s port), 
  1967. MultiFinder, and drawing outside of one’s windows will be reconciled. 
  1968. Beware - Drawing outside of windows from within an application is 
  1969. guaranteed to make that application less compatible with future systems. In
  1970. order to be as MultiFinder compatible as possible, draw only in response to
  1971. an update event or as part of the feedback for a user action, i.e. while 
  1972. tracking the mouse. MultiFinder compatibility is just as important as HFS 
  1973. compatibility!
  1974.  
  1975.  Name  =  TN.195.ASP & AFP
  1976.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.195.ASP & AFP
  1977.  Size:  4K         Date: 2/15/91         Version: 
  1978.  AMUG file information and description:
  1979.  TN.195.ASP & AFP - The descriptions of the AppleTalk Session Protocol and 
  1980. AppleTalk Filing Protocol functions within the body of the AppleTalk 
  1981. Manager chapter are incorrect and conflict with those in the Summary of the
  1982. AppleTalk Manager. This technical note resolves the discrepancy.
  1983.  
  1984.  Name  =  TN.196.CDEF Params and Bugs
  1985.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.196.CDEF Params and Bugs
  1986.  Size:  4K         Date: 2/15/91         Version: 
  1987.  AMUG file information and description:
  1988.  TN.196.CDEF Params and Bugs - This Technical Note describes known bugs in 
  1989. the Control Manager which affect control definition functions ('CDEF' 
  1990. resources). Changes since August 1988:  Updated to reflect known bugs in 
  1991. the posCntl and thumbCntl messages and the Control Manager _TrackControl 
  1992. call.
  1993.  
  1994.  Name  =  TN.197.Chooser PACK
  1995.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.197.Chooser PACK
  1996.  Size: 11K         Date: 2/15/91         Version: 
  1997.  AMUG file information and description:
  1998.  TN.197.Chooser PACK - Beginning with version 3.2, the Chooser has been 
  1999. enhanced to provide support for additional controls. As stated in Inside 
  2000. Macintosh IV-217, the Chooser communicates with device packages as if they 
  2001. were the following function:
  2002.  
  2003.  Name  =  TN.198.NFNTs
  2004.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.198.NFNTs
  2005.  Size: 11K         Date: 2/15/91         Version: 
  2006.  AMUG file information and description:
  2007.  TN.198.NFNTs - Font/DA Mover version 3.8 (shipped with System 6.0) 
  2008. incorporates support for 'NFNT' resources and styled font family members. 
  2009. This note discusses several issues concerning the arrangement of 
  2010. font-related resources and their IDs. It also documents the proper 
  2011. arrangement of font resources within the font files that Font/DA Mover 
  2012. uses.
  2013.  
  2014.  Name  =  TN.199.KillNBP
  2015.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.199.KillNBP
  2016.  Size:  4K         Date: 2/15/91         Version: 
  2017.  AMUG file information and description:
  2018.  TN.199.KillNBP - This technical note clears up some confusion regarding the
  2019. Name Binding Protocol KillNBP function. The description of the PKillNBP 
  2020. function on page 519 of Inside Macintosh Volume V is somewhat confusing. 
  2021. The data type of the parameter thePBptr is incorrectly given as ATPPBPtr 
  2022. and the pointer to the queue element from the NBP call to be aborted is 
  2023. incorrectly given as being passed in aKillQEl. The following is a correct 
  2024. description of the KillNBP function:
  2025.  
  2026.  Name  =  TN.200.MPW 2.0.2 Bugs
  2027.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.200.MPW 2.0.2 Bugs
  2028.  Size: 27K         Date: 2/15/91         Version: 
  2029.  AMUG file information and description:
  2030.  TN.200.MPW 2.0.2 Bugs - This Technical Note describes latest information 
  2031. about bugs or unexpected “features” in the MPW C, Pascal, and Assembler 
  2032. products and the Toolbox and OS Interface Libraries.  We intend this Note 
  2033. to be a complete list of all known bugs in these products, which will be 
  2034. updated as old bugs are fixed, or new ones appear.  If you have encountered
  2035. a bug or unexpected feature which is not described here, be sure to let us 
  2036. know.  Specific code examples are useful.
  2037.  
  2038.  Name  =  TN.201.Read Packet
  2039.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.201.Read Packet
  2040.  Size:  3K         Date: 2/15/91         Version: 
  2041.  AMUG file information and description:
  2042.  TN.201.Read Packet - This technical note clears up some confusion 
  2043. concerning the low-level function ReadPacket. This function is called by 
  2044. protocol handlers and socket listeners.
  2045.  
  2046.  Name  =  TN.202.Resetting the Event Mask
  2047.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.202.Resetting the Event Mask
  2048.  Size:  6K         Date: 2/15/91         Version: 
  2049.  AMUG file information and description:
  2050.  TN.202.Resetting the Event Mask - In most cases, applications should not 
  2051. modify the system event mask, which means they should avoid calling 
  2052. SetEventMask and not alter the low-memory global SysEvtMask.  Modifying the
  2053. event mask is of no use to most applications, and the only situation in 
  2054. which an application might need to modify it is to detect key-up events.  
  2055. Only those developers creating applications which must detect key-up events
  2056. need to know the information presented in this Technical Note.  Other 
  2057. developers should avoid altering the system event mask at all costs.
  2058.  
  2059.  Name  =  TN.203.Managerial Abuse
  2060.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.203.Managerial Abuse
  2061.  Size: 13K         Date: 2/15/91         Version: 
  2062.  AMUG file information and description:
  2063.  TN.203.Managerial Abuse - When using the various pieces of the Macintosh 
  2064. operating system there is a temptation to try to stretch the built-in 
  2065. Managers too far. Developers should be aware of the intended purpose of the
  2066. various Managers and beware of using them for things that they were not 
  2067. designed to handle. If extended beyond their design goals, they will become
  2068. slow and unwieldy.
  2069.  
  2070.  Name  =  TN.204.HFS Tidbits
  2071.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.204.HFS Tidbits
  2072.  Size:  4K         Date: 2/15/91         Version: 
  2073.  AMUG file information and description:
  2074.  TN.204.HFS Tidbits - This Technical Note describes two poorly documented 
  2075. features of the File Manager. Always Set ioFVersNum to Zero - When making a
  2076. File Manager call which uses a CInfoPBRec, or the fileParam or ioParam 
  2077. portion of either a ParamBlockRec or an HParamBlockRec, you should set the 
  2078. ioFVersNum field to zero. 
  2079.  
  2080.  Name  =  TN.205.MultiFinder Revisited
  2081.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.205.MultiFinder Revisited
  2082.  Size: 12K         Date: 2/15/91         Version: 
  2083.  AMUG file information and description:
  2084.  TN.205.MultiFinder Revisited - This Technical Note describes several new 
  2085. features found in MultiFinder 6.0 and answers a few more commonly-asked 
  2086. questions. Changes since October 1989:  Clarified the section on 
  2087. childDiedEvent events. How Can I Tell If MultiFinder is Present. Once 
  2088. again, you can’t.  Previous Technical Notes discuss how to check for the 
  2089. new services available with MultiFinder (i.e., _WaitNextEvent and the 
  2090. temporary memory allocation calls).
  2091.  
  2092.  Name  =  TN.206.Space Aliens (ADB)
  2093.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.206.Space Aliens (ADB)
  2094.  Size: 19K         Date: 2/15/91         Version: 
  2095.  AMUG file information and description:
  2096.  TN.206.Space Aliens (ADB) - This Technical Note explains how the Apple 
  2097. Desktop Bus (ADB) works on the Macintosh.  This Note covers the boot 
  2098. process, driver installation, ADB Manager run-time behavior, use of ADB 
  2099. Manager calls, and answers commonly asked questions. Changes since October 
  2100. 1989:  Added a section on ADB Manager run-time behavior and removed the 
  2101. recommendation for using an 'INIT' resource or application-based 
  2102. installation procedure.
  2103.  
  2104.  Name  =  TN.207.Styled TextEdit 6.0
  2105.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.207.Styled TextEdit 6.0
  2106.  Size: 28K         Date: 2/15/91         Version: 
  2107.  AMUG file information and description:
  2108.  TN.207.Styled TextEdit 6.0 - Some changes were made to TextEdit in System 
  2109. 6.0 to provide more functionality and to make life easier for the 
  2110. programmer using TextEdit.  This Note documents those changes and 
  2111. enhancements. Changes since August 1, 1988:  Corrected an error in 
  2112. TEDispatchRec in the figure on page 8.
  2113.  
  2114.  Name  =  TN.208.Setting and Restoring A5
  2115.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.208.Setting and Restoring A5
  2116.  Size:  9K         Date: 2/15/91         Version: 
  2117.  AMUG file information and description:
  2118.  TN.208.Setting and Restoring A5 - The routines SetupA5 and RestoreA5 do not
  2119. work properly when used with some optimizing Pascal and C compilers.  Two 
  2120. new routines, SetCurrentA5 and SetA5, are available in MPW 3.0, and they 
  2121. should work with any compiler. Changes since December 1988. Removed the 
  2122. sample code and expanded the explanation of these two routines.  The sample
  2123. code in Technical Note #180 reflects these new A5 routines.
  2124.  
  2125.  Name  =  TN.209.CD ROM Formats
  2126.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.209.CD ROM Formats
  2127.  Size:  5K         Date: 2/15/91         Version: 
  2128.  AMUG file information and description:
  2129.  TN.209.CD ROM Formats - Generally, if a Macintosh has problems with a High 
  2130. Sierra disc, it’s because the disc in question  doesn’t really conform to 
  2131. the High Sierra specification.  There are actually two specifications of 
  2132. the High Sierra format. The Paper 28 May 1986 Working Paper for Information
  2133. Processing — Volume and File Structure of Compact Read Only Optical Discs 
  2134. for Information Interchange (known as the “High Sierra” specification.)  
  2135. We’ll call discs conforming to this standard “High Sierra” discs.
  2136.  
  2137.  Name  =  TN.210.Desktop File Limits
  2138.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.210.Desktop File Limits
  2139.  Size:  4K         Date: 2/15/91         Version: 
  2140.  AMUG file information and description:
  2141.  TN.210.Desktop File Limits - There is a limit to the number of 
  2142. applications/files that the Finder can “see” on a single volume. This 
  2143. limitation is imposed by the Desktop file. The Desktop file is a resource 
  2144. file that the Finder uses to keep track of information about files and 
  2145. applications, including Finder file comments (Get Info comments), and how 
  2146. these files and applications relate to each other.
  2147.  
  2148.  Name  =  TN.211.Palette Manager Changes
  2149.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.211.Palette Manager Changes
  2150.  Size:  6K         Date: 2/15/91         Version: 
  2151.  AMUG file information and description:
  2152.  TN.211.Palette Manager Changes - This Technical Note describes the changes 
  2153. and enhancements to the Palette Manager in System Software 6.0.2 and future
  2154. versions.
  2155.  
  2156.  Name  =  TN.212.Joy of 32-Bit Clean
  2157.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.212.Joy of 32-Bit Clean
  2158.  Size: 12K         Date: 2/15/91         Version: 
  2159.  AMUG file information and description:
  2160.  TN.212.Joy of 32-Bit Clean - What to do (and what not to do) to make your 
  2161. programs run under A/UX and future versions of the Macintosh System 
  2162. Software. Changes since October 1988. Added information on writing 32-bit 
  2163. clean CDEFs, and updated A/UX information to reflect the capabilities of 
  2164. A/UX 1.1.
  2165.  
  2166.  Name  =  TN.213._StripAddress
  2167.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.213._StripAddress
  2168.  Size:  9K         Date: 2/15/91         Version: 
  2169.  AMUG file information and description:
  2170.  TN.213._StripAddress - Inside Macintosh, Volume V, The OS Utilities, 
  2171. incorrectly documents the _StripAddress trap; this Technical Note correctly
  2172. documents the trap and gives guidelines for its use. Changes since April 
  2173. 1990. Added a discussion of why the _StripAddress trap should be used under
  2174. certain circumstances when patching traps.
  2175.  
  2176.  Name  =  TN.214.New Resource Mgr Calls
  2177.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.214.New Resource Mgr Calls
  2178.  Size:  4K         Date: 2/15/91         Version: 
  2179.  AMUG file information and description:
  2180.  TN.214.New Resource Mgr Calls - This Technical Note describes two new 
  2181. Resource Manager calls that make opening and creating resource files much 
  2182. easier. MPW 3.0 supplies glue routines for two new Resource Manager calls 
  2183. which provide new, easier ways of opening and creating resource files.
  2184.  
  2185.  Name  =  TN.215.“New” cdev Messages
  2186.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.215.“New” cdev Messages
  2187.  Size:  5K         Date: 2/15/91         Version: 
  2188.  AMUG file information and description:
  2189.  TN.215.“New” cdev Messages - This Technical Note describes some previously 
  2190. undocumented messages that the Control Panel can send to a Control Panel 
  2191. device (cdev). The Control Panel will send messages to a Control Panel 
  2192. device (cdev) in response to the user selecting the Undo, Cut, Copy, Paste 
  2193. and Clear items of the Edit menu.  It will also send a message if the cdev 
  2194. contains a 'CURS' = –4064 resource.  The following is a list of the 
  2195. previously undocumented messages, descriptions, and values:
  2196.  
  2197.  Name  =  TN.216.AppleShare Limits
  2198.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.216.AppleShare Limits
  2199.  Size:  3K         Date: 2/15/91         Version: 
  2200.  AMUG file information and description:
  2201.  TN.216.AppleShare Limits - This Technical Note describes some 
  2202. machine-dependent limits of current versions of AppleShare and AppleShare 
  2203. servers. The following chart lists some current AppleShare limits which are
  2204. based upon the chosen server platform and memory configuration.  The limits
  2205. which otherwise might be present on a workstation are still in effect and 
  2206. are not affected by the workstation being logged into an AppleShare server.
  2207. These limits will change in the future.
  2208.  
  2209.  Name  =  TN.217.Font File Icons
  2210.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.217.Font File Icons
  2211.  Size:  5K         Date: 5/18/91         Version: 
  2212.  AMUG file information and description:
  2213.  #217 Where Have My Font Icons Gone? Revised by Pete “Luke” Alexander April 
  2214. 1991. Written by Pete “Luke” Alexander December 1988. This Technical
  2215. Note discusses why you should not link directly from your font files to the
  2216. font icons provided by LaserWriter driver 5.2 and later. Changes since 
  2217. December 1988. Added some useful tips and described the method required to
  2218. bundle an icon to your font file.
  2219.  
  2220.  Name  =  TN.218.New High-Level File Mgr
  2221.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.218.New High-Level File Mgr
  2222.  Size:  6K         Date: 2/15/91         Version: 
  2223.  AMUG file information and description:
  2224.  TN.218.New High-Level File Mgr - This Technical Note describes some new 
  2225. high-level File Manager calls that make dealing with the Hierarchical File 
  2226. System (HFS) easier. When the Hierarchical File System (HFS) was first 
  2227. introduced, a large number of low-level File Manager calls were documented.
  2228. Unfortunately, higher-level equivalents to these calls were not present 
  2229. until now.  The glue for these routines is built into MPW 3.0.  They are 
  2230. provided as a convenience for those of you who hate filling in parameter 
  2231. blocks.
  2232.  
  2233.  Name  =  TN.219.New Memory Manager Glue
  2234.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.219.New Memory Manager Glue
  2235.  Size:  4K         Date: 2/15/91         Version: 
  2236.  AMUG file information and description:
  2237.  TN.219.New Memory Manager Glue - This Technical Note describes some new 
  2238. Memory Manager routines which make life a little easier for C and Pascal 
  2239. programmers. MPW 3.0 includes some new glue routines that allow you to 
  2240. allocate pre-zeroed handles and pointers and to allocate memory (zeroed or 
  2241. otherwise) in the system heap.  These capabilities have always been 
  2242. available to assembly language programmers, but these routines make it 
  2243. possible for C and Pascal programmers to achieve the same results.
  2244.  
  2245.  Name  =  TN.220.Segment Loader Limits
  2246.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.220.Segment Loader Limits
  2247.  Size:  5K         Date: 2/15/91         Version: 
  2248.  AMUG file information and description:
  2249.  TN.220.Segment Loader Limits - This Technical Note discusses the jump table
  2250. limitations of the Segment Loader and suggests some ways to work around 
  2251. these limitations to minimize the problem.  These limitations are most 
  2252. evident to developers using MacApp and other object-oriented environments.
  2253.  
  2254.  Name  =  TN.221.NuBus Interrupt Latency
  2255.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.221.NuBus Interrupt Latency
  2256.  Size:  9K         Date: 2/15/91         Version: 
  2257.  AMUG file information and description:
  2258.  TN.221.NuBus Interrupt Latency - This Technical Note discusses NuBus™ 
  2259. interrupt latency, and why, contrary to popular belief, the Macintosh is 
  2260. not a real-time machine. Changes since December 1988:  Changed sample code 
  2261. to defer cursor rendering to a deferred task rather than a “pseudo-VBL” 
  2262. task.
  2263.  
  2264.  Name  =  TN.222.Custom Menu Flashing
  2265.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.222.Custom Menu Flashing
  2266.  Size:  4K         Date: 2/15/91         Version: 
  2267.  AMUG file information and description:
  2268.  TN.222.Custom Menu Flashing - Selected menu items in a custom 'MDEF' 
  2269. resource do not flash correctly due to a bug in the Menu Manager.  This 
  2270. Technical Note describes the problem and explains how to make your 'MDEF' 
  2271. flash correctly.
  2272.  
  2273.  Name  =  TN.223._InitGraph with MPW Asm
  2274.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.223._InitGraph with MPW Asm
  2275.  Size:  5K         Date: 2/15/91         Version: 
  2276.  AMUG file information and description:
  2277.  TN.223._InitGraph with MPW Asm - The Macintosh Programmer’s Workshop (MPW) 
  2278. requires assembly-language programmers to allocate their own QuickDraw 
  2279. global variables rather than use the default record as indicated in Inside 
  2280. Macintosh.
  2281.  
  2282.  Name  =  TN.224.Opening AppleTalk
  2283.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.224.Opening AppleTalk
  2284.  Size:  5K         Date: 2/15/91         Version: 
  2285.  AMUG file information and description:
  2286.  TN.224.Opening AppleTalk - This Technical Note describes the most 
  2287. effective, safe, and compatible way to open the AppleTalk drivers, .MPP and
  2288. .ATP. The process of opening the AppleTalk drivers, .MPP and .ATP, can be 
  2289. greatly simplified.  The AppleTalk Manager chapters of Inside Macintosh 
  2290. describe the calls MPPOpen and ATPLoad for use by high-level languages.  
  2291. They also describe the process of examining low-memory globals SPConfig and
  2292. PortBUse before calling _Open for assembly language use of AppleTalk.
  2293.  
  2294.  Name  =  TN.225.Using RegisterName
  2295.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.225.Using RegisterName
  2296.  Size:  4K         Date: 2/15/91         Version: 
  2297.  AMUG file information and description:
  2298.  TN.225.Using RegisterName - The verify flag indicator byte (verifyFlag) of 
  2299. the AppleTalk RegisterName function should always be set TRUE in published 
  2300. code. The AppleTalk chapter of Inside Macintosh, Volume II-322, in 
  2301. describing the RegisterName function, states:
  2302.  
  2303.  Name  =  TN.226.Moving Your Cat
  2304.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.226.Moving Your Cat
  2305.  Size: 13K         Date: 2/15/91         Version: 
  2306.  AMUG file information and description:
  2307.  #226 Moving Your Cat Revised by John Harvey February 1991. This Technical 
  2308. Note clarifies the documentation in Inside Macintosh for _PBCatMove and 
  2309. provides a demonstration on how to use it. Changes since February 1989. 
  2310. Added a discussion of using NIL for the destination name pointer, which is 
  2311. the simplest way to use _CatMove, and revised the sample code to use the 
  2312. high-level File Manager calls.  Thanks to Tim Dierks of Apple Developer 
  2313. Technical Support U.K. for pointing out the problems with the previous 
  2314. version of this Note.
  2315.  
  2316.  Name  =  TN.227.Toolbox Karma
  2317.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.227.Toolbox Karma
  2318.  Size:  6K         Date: 2/15/91         Version: 
  2319.  AMUG file information and description:
  2320.  TN.227.Toolbox Karma - This Technical Note discusses Macintosh Toolbox 
  2321. compatibility and what you can do to help the Macintosh continue evolving 
  2322. in the future. It is getting increasingly difficult to make additions to 
  2323. the Macintosh Toolbox.  The single greatest obstacle today is 
  2324. compatibility.  Often, engineering is prevented from doing something in an 
  2325. elegant manner because it would break some applications.  This usually 
  2326. leaves three choices.
  2327.  
  2328.  Name  =  TN.228.Swapping MMU Mode
  2329.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.228.Swapping MMU Mode
  2330.  Size:  5K         Date: 2/15/91         Version: 
  2331.  AMUG file information and description:
  2332.  TN.228.Swapping MMU Mode - This Technical Note describes how to avoid 
  2333. crashing when swapping into 32-bit mode on a Macintosh II.  Thanks to Jim 
  2334. Berry and Dan Weston for pointing this out. There is a condition where 
  2335. calling _SwapMMUMode to switch the Macintosh II into 32-bit mode can cause 
  2336. the system to crash.  This condition happens in code which is loaded into 
  2337. memory from a resource, or is placed in memory that was allocated by the 
  2338. Memory Manager and is subsequently executed by using the master pointer as 
  2339. the address for a JSR instruction.  This condition includes stand-alone, 
  2340. executable code resources (i.e., 'XCMD', 'XFCN', 'INIT', 'ADBS','FKEY', 
  2341. etc.), but does not apply to standard 'CODE' resources.
  2342.  
  2343.  Name  =  TN.229.A/UX Compatibility
  2344.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.229.A/UX Compatibility
  2345.  Size: 12K         Date: 5/18/91         Version: 
  2346.  AMUG file information and description:
  2347.  #229 A/UX 2.0 Compatibility Guidelines. Revised by Kent Sandvik &  B. 
  2348. Winston Hendrickson. February 1991. Revised by B. Winston Hendrickson & 
  2349. Dave Radcliffe June 1990. Written by Dave Radcliffe April 1989. This 
  2350. Technical Note describes details of the A/UX 2.0 implementation of which 
  2351. developers should be aware, so that their Macintosh applications also work 
  2352. properly under A/UX. Changes since April 1989. This Note formerly 
  2353. described A/UX 1.1 Toolbox Bugs, but has been completely rewritten to cover
  2354. A/UX 2.0 compatibility. Changes since June 1990. Changes due to A/UX 
  2355. 2.0.1, also added some new important issues.
  2356.  
  2357.  Name  =  TN.230.Macintosh SE/30
  2358.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.230.Macintosh SE/30
  2359.  Size: 12K         Date: 2/15/91         Version: 
  2360.  AMUG file information and description:
  2361.  TN.230.Macintosh SE/30 - This Technical Note discusses the Macintosh SE/30,
  2362. items of interest to developers, and sources for further information.
  2363. Changes since April 1989. Corrected an error in the addresses of the video 
  2364. display buffers. The Macintosh SE/30 is a modification of the original 
  2365. Macintosh SE concept.  The SE/30 combines the modularity of the original SE
  2366. with the capabilities of the larger Macintosh IIx.  Although the name 
  2367. implies that the SE/30 borrows many characteristics from the SE, there are 
  2368. actually substantial differences between the two machines, and this Note 
  2369. addresses some of those differences.
  2370.  
  2371.  Name  =  TN.231.Allegro Common Lisp
  2372.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.231.Allegro Common Lisp
  2373.  Size: 16K         Date: 2/15/91         Version: 
  2374.  AMUG file information and description:
  2375.  TN.231.Allegro Common Lisp - This Technical Note describes some known 
  2376. problems and provides solutions to these problems for the Macintosh Allegro
  2377. Common Lisp™ package which is available from Apple Computer, Inc.  You 
  2378. should note, however, that although Apple acquired Coral Software and is 
  2379. selling Macintosh Allegro Common Lisp, Apple is not currently distributing 
  2380. any other products which had been developed or previously sold by Coral 
  2381. Software.
  2382.  
  2383.  Name  =  TN.232.Strip _OpenResFile...
  2384.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.232.Strip _OpenResFile...
  2385.  Size:  5K         Date: 2/15/91         Version: 
  2386.  AMUG file information and description:
  2387.  TN.232.Strip _OpenResFile...- This Technical Note discusses a bug in 
  2388. _OpenResFile and _OpenRFPerm which can cause system crashes and what you 
  2389. can do to avoid this problem. The traps _OpenResFile and _OpenRFPerm call 
  2390. some common code in 128K and later ROMs which was affected by some system 
  2391. patches for early print drivers.  The problem is that the common code 
  2392. checks an attribute bit in the pointer to the string name to see if it is a
  2393. dereferenced handle. 
  2394.  
  2395.  Name  =  TN.233.MF and _SetGrowZone
  2396.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.233.MF and _SetGrowZone
  2397.  Size:  6K         Date: 2/15/91         Version: 
  2398.  AMUG file information and description:
  2399.  TN.233.MF and _SetGrowZone - MultiFinder gives each application its own 
  2400. heap in which to run.  Because it wants to do some fairly tricky memory 
  2401. management, MultiFinder installs its own grow zone procedure (gzProc) in 
  2402. the application heap, and patches _SetGrowZone to store your application’s 
  2403. gzProc in a temporary variable inside of itself.
  2404.  
  2405.  Name  =  TN.234.NuBus Physical Designs
  2406.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.234.NuBus Physical Designs
  2407.  Size: 23K         Date: 2/15/91         Version: 
  2408.  AMUG file information and description:
  2409.  TN.234.NuBus Physical Designs - This Technical Note discusses the possible 
  2410. problems you might run into while designing a NuBus™ card.  It covers some 
  2411. of the specifications which, if not followed, will have problems with 
  2412. current Macintosh machines, and possibly future machines. Changes since 
  2413. June 1989. Added warnings about the no component area and full-size NuBus 
  2414. cards.
  2415.  
  2416.  Name  =  TN.235.Coop with Coprocessor
  2417.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.235.Coop with Coprocessor
  2418.  Size:  7K         Date: 2/15/91         Version: 
  2419.  AMUG file information and description:
  2420.  TN.235.Coop with Coprocessor - The use of the 68881 or 68882 coprocessor is
  2421. usually handled by the SANE package or by a development system’s libraries.
  2422. Some developers may wish to use the coprocessor during special 
  2423. circumstances, such as at interrupt level or installing their own hardware 
  2424. floating point exception handlers.  In these two situations, there are 
  2425. special requirements that must be met.  These requirements will require 
  2426. floating–point assembly code and are discussed in this Technical Note.
  2427. Changes since June 1989. Noted that the new Sound Manager no longer uses 
  2428. floating-point numbers at interrupt time.
  2429.  
  2430.  Name  =  TN.236.Speedy Coprocessor
  2431.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.236.Speedy Coprocessor
  2432.  Size: 27K         Date: 2/15/91         Version: 
  2433.  AMUG file information and description:
  2434.  TN.236.Speedy Coprocessor - This Technical Note presents an overview of the
  2435. 68881 and 68882 math coprocessors, and it covers general information about 
  2436. the chips as well as how using the chips directly can help speed your 
  2437. math–intensive code.
  2438.  
  2439.  Name  =  TN.237.TextEdit Limits Again
  2440.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.237.TextEdit Limits Again
  2441.  Size:  6K         Date: 2/15/91         Version: 
  2442.  AMUG file information and description:
  2443.  TN.237.TextEdit Limits Again - This Technical Note describes another limit 
  2444. on the length of a TextEdit record that was previously undocumented. The 
  2445. TextEdit chapters in Inside Macintosh document the 32K character limit on a
  2446. TextEdit record length.  They do not, however, discuss the more subtle 
  2447. constraint on the size of the destRect.  By definition, the destRect uses 
  2448. integer values for the top-left and bottom-right boundary points.  It is 
  2449. possible to have values too large for the destRect without reaching the 
  2450. teLength limit.
  2451.  
  2452.  Name  =  TN.238.Getting a Full Pathname
  2453.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.238.Getting a Full Pathname
  2454.  Size: 11K         Date: 2/15/91         Version: 
  2455.  AMUG file information and description:
  2456.  TN.238.Getting a Full Pathname - This Technical Note describes how to 
  2457. generate a full pathname, given either a Working Directory ID or a real 
  2458. vRefNum and a DirID. By using the techniques shown in this Note, you can 
  2459. find the full pathname from information such as that returned by Standard 
  2460. File. Changes since June 89. Added a note on how to check for A/UX.  Fixed 
  2461. bug in C version:  BlockMove() parameters were reversed in pStrcpy(); added
  2462. range checking to pStrCat(); changed references from “longint” to “long”.  
  2463. Fixed bug in Pascal and C versions:  Changed fsRtDir to fsRtdirID and made 
  2464. references to gHaveAUX consistent.
  2465.  
  2466.  Name  =  TN.239.Inside Object Pascal
  2467.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.239.Inside Object Pascal
  2468.  Size:  5K         Date: 2/15/91         Version: 
  2469.  AMUG file information and description:
  2470.  TN.239.Inside Object Pascal - This Technical Note briefly explains why 
  2471. Object Pascal and MacApp should only be used to write applications and MPW 
  2472. tools. Although Pascal can be used to write desk accessories, drivers, 
  2473. XCMDs and other types of stand–alone code, and Object Pascal is an 
  2474. extension of Pascal, Object Pascal cannot be used to write anything other 
  2475. than an application.  This limitation is due to the fact that Object Pascal
  2476. method dispatching relies on a valid A5 pointing to a jump table.  Because 
  2477. MacApp is written in Object Pascal, this limitation applies to it as well.
  2478.  
  2479.  Name  =  TN.240.MPW for Non-Mac Systems
  2480.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.240.MPW for Non-Mac Systems
  2481.  Size: 17K         Date: 2/15/91         Version: 
  2482.  AMUG file information and description:
  2483.  TN.240.MPW for Non-Mac Systems - Occasionally there is a need to create 
  2484. routines or programs for non-Macintosh systems.  Such situations can occur 
  2485. if you are writing a driver for a NuBus board, developing a peripheral that
  2486. uses a 68xxx microprocessor, or perhaps targeting a proprietary 68xxx 
  2487. machine (Apple uses MPW for all of its ROM and NuBus development.)
  2488.  
  2489.  Name  =  TN.241.ScriptMgr Pixel2Char
  2490.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.241.ScriptMgr Pixel2Char
  2491.  Size: 10K         Date: 2/15/91         Version: 
  2492.  AMUG file information and description:
  2493.  TN.241.ScriptMgr Pixel2Char - This Technical Note discusses the Pixel2Char 
  2494. routine provided by the Script Manager. Changes since June 1989:  Clarified
  2495. information, corrected minor errors, and replaced the illustration. The 
  2496. leftSide flag in the Pixel2Char routine was inappropriately named, and it 
  2497. should now be called the leadingEdge flag.  The reason for this change is 
  2498. that the value Pixel2Char returns indicates whether a mouse-down occurred 
  2499. on the leading edge of a character, which is not always the left side.  (In
  2500. Arabic or Hebrew, both of which are right-to-left scripts, the mouse-down 
  2501. occurs on the right side of the character.)
  2502.  
  2503.  Name  =  TN.242.Fonts and the Script Mgr
  2504.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.242.Fonts and the Script Mgr
  2505.  Size: 12K         Date: 2/15/91         Version: 
  2506.  AMUG file information and description:
  2507.  TN.242.Fonts and the Script Mgr - The traps _FontScript, _IntlScript, and 
  2508. _Font2Script all use a font family ID to determine the script interface 
  2509. system code that they return.  This Note describes the process, the way the
  2510. Script Manager renumbers the Chicago font for non-Roman systems, and the 
  2511. equation for calculating Script IDs from font family IDs.
  2512.  
  2513.  Name  =  TN.243.Script Mgr Variables
  2514.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.243.Script Mgr Variables
  2515.  Size: 24K         Date: 2/15/91         Version: 
  2516.  AMUG file information and description:
  2517.  TN.243.Script Mgr Variables - The Script Manager maintains a number of 
  2518. global variables which can be read with the routine _GetEnvirons.  These 
  2519. variables can be set by a corresponding routine, _SetEnvirons.  In 
  2520. addition, each script interface system maintains variables of its own.  
  2521. These are referred to as local variables in Inside Macintosh, Volume V-293,
  2522. The Script Manager, and are read by _GetScript and set by _SetScript.
  2523.  
  2524.  Name  =  TN.244.Color Cursor Cursing
  2525.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.244.Color Cursor Cursing
  2526.  Size:  4K         Date: 2/15/91         Version: 
  2527.  AMUG file information and description:
  2528.  TN.244.Color Cursor Cursing - Working with color cursors you create from 
  2529. scratch can cause headaches.  This Technical Note may help a bit.
  2530. Changes since June 1989:  Added a warning about purgeable 'clut' resources.
  2531. If you’re building an application that creates color cursors, you may 
  2532. encounter some quirks present in Color QuickDraw that manifest themselves 
  2533. in hard-to-understand ways.
  2534.  
  2535.  Name  =  TN.245.Font Family Numbers
  2536.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.245.Font Family Numbers
  2537.  Size:  9K         Date: 2/15/91         Version: 
  2538.  AMUG file information and description:
  2539.  TN.245.Font Family Numbers - This Technical Note discusses the range of 
  2540. numbers available for identifying font families, how they are allocated 
  2541. among script systems, what numbers should be used for fonts that were 
  2542. designed to be used as a tool in an application, and Apple’s font 
  2543. registration program.
  2544.  
  2545.  Name  =  TN.246.Mixing HFS and C I/O
  2546.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.246.Mixing HFS and C I/O
  2547.  Size:  8K         Date: 2/15/91         Version: 
  2548.  AMUG file information and description:
  2549.  TN.246.Mixing HFS and C I/O - This Technical Note discusses the problem of 
  2550. mixing calls to the Macintosh file system with calls to MPW C library file 
  2551. I/O routines. Problems with Communication Between HFS and C Frequently, 
  2552. developers want to use both Macintosh file I/O and C file I/O.  Developers 
  2553. who do this must keep in mind that they are combining two distinct file 
  2554. representations (the Macintosh and ANSI C).  The only limitation on mixing 
  2555. HFS and C I/O functions is that they cannot be mixed on the same open file.
  2556. There are three reasons why this cannot be done.
  2557.  
  2558.  Name  =  TN.247.DeskHook and INIT Evils
  2559.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.247.DeskHook and INIT Evils
  2560.  Size:  8K         Date: 2/15/91         Version: 
  2561.  AMUG file information and description:
  2562.  TN.247.DeskHook and INIT Evils - This Technical Note discusses INIT evils, 
  2563. the foremost of which deals with clearing DeskHook and DragHook at INIT 
  2564. time Changes since August 1989. Added warning about clearing DragHook.If 
  2565. you’ve survived the typical DTS Tirade* and still feel the need to display 
  2566. a dialog box or window in an INIT, you need to be aware of a problem which 
  2567. exists on Macintoshes earlier than the Macintosh II (remember those?).  
  2568. There is a low-memory global named DeskHook ($A6C), which can contain a 
  2569. pointer to a routine responsible for painting the Macintosh desktop.
  2570.  
  2571.  Name  =  TN.248.DAs in Need of Time
  2572.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.248.DAs in Need of Time
  2573.  Size:  9K         Date: 2/15/91         Version: 
  2574.  AMUG file information and description:
  2575.  TN.248.DAs in Need of Time - This Technical Note describes a few 
  2576. complications which rear their rather ugly little heads when a desk 
  2577. accessory or driver needs periodic time.  It also presents a few solutions 
  2578. to work around these problems and make life easier, at least periodically.
  2579. Changes since August 1989:  Corrected _BitClr and _BitSet  examples.  Okay,
  2580. I admit it.  I was having too good of a time when I wrote the original Note
  2581. and messed up the bit manipulations at the end.  My vision was blurred; I 
  2582. was in no condition to see those tiny little things.
  2583.  
  2584.  Name  =  TN.249.Opening Serial Driver
  2585.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.249.Opening Serial Driver
  2586.  Size:  5K         Date: 2/15/91         Version: 
  2587.  AMUG file information and description:
  2588.  TN.249.Opening Serial Driver - This Technical Note describes the 
  2589. recommended, safe, and compatible way to open the Macintosh serial driver, 
  2590. and it explains why you should no longer check for port availability.
  2591. Changes since October 1989:  Corrected syntax errors in the sample code.
  2592.  
  2593.  Name  =  TN.250.AppleTalk Phase 2
  2594.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.250.AppleTalk Phase 2
  2595.  Size: 33K         Date: 2/15/91         Version: 
  2596.  AMUG file information and description:
  2597.  TN.250.AppleTalk Phase 2 - This Technical Note discusses the new features 
  2598. and calls available with AppleTalk Phase 2. Changes since August 1989. 
  2599. Incorporated the ClosePrep and CancelClosePrep transitions and the new 
  2600. control calls to the .MPP driver.AppleTalk Phase 2 is only available on 
  2601. Macintosh Plus or later Macintosh platforms, and it requires the 
  2602. installation of AppleTalk file V53, or greater.  Both EtherTalk 2.0 and 
  2603. TokenTalk 2.0 automatically install this AppleTalk file.  Developer 
  2604. Technical Support can supply the Phase 2 drivers for development use; 
  2605. however, if you need to include the Phase 2 drivers in your product, you 
  2606. must license them from Software Licensing.
  2607.  
  2608.  Name  =  TN.251.Safe cdevs
  2609.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.251.Safe cdevs
  2610.  Size:  6K         Date: 2/15/91         Version: 
  2611.  AMUG file information and description:
  2612.  TN.251.Safe cdevs - This Technical Note describes a potential problem with 
  2613. Control Panel devices (cdevs) that contain EditText fields and presents a 
  2614. way to avoid it. The Control Panel chapter in Inside Macintosh, Volume 5 
  2615. describes, in detail, how run-time errors are handled by the Control Panel 
  2616. and a cdev.  There is, however, a potential problem with cdevs that contain
  2617. EditText items that this chapter does not cover.
  2618.  
  2619.  Name  =  TN.252.Plotting Small Icons
  2620.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.252.Plotting Small Icons
  2621.  Size: 11K         Date: 2/15/91         Version: 
  2622.  AMUG file information and description:
  2623.  TN.252.Plotting Small Icons - This Technical Note discusses the 'SICN' 
  2624. resource format and how to plot one in a GrafPort. Changes since August 
  2625. 1989. Corrected errors in the Pascal code and spruced up the rest.
  2626.  
  2627.  Name  =  TN.253.SICNs in Menus
  2628.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.253.SICNs in Menus
  2629.  Size:  8K         Date: 2/15/91         Version: 
  2630.  AMUG file information and description:
  2631.  TN.253.SICNs in Menus - This Technical Note describes a new facility of the
  2632. Menu Manager which allows you to add reduced icons and small icons to your 
  2633. menus. Changes since August 1989. Corrected references to SetItemCmd from 
  2634. SetItmCmd.
  2635.  
  2636.  Name  =  TN.254.Portable PDS Development
  2637.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.254.Portable PDS Development
  2638.  Size: 16K         Date: 2/15/91         Version: 
  2639.  AMUG file information and description:
  2640.  TN.254.Portable PDS Development - The Technical Note describes the unique 
  2641. aspects of the Macintosh Portable Processor Direct Slot (PDS), including 
  2642. the severe limitations in its use. Changes since October 1989. Corrected 
  2643. PDS pin and signal descriptions in Tables 2 and 3.
  2644.  
  2645.  Name  =  TN.255.Portable ROM Expansion
  2646.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.255.Portable ROM Expansion
  2647.  Size: 19K         Date: 2/15/91         Version: 
  2648.  AMUG file information and description:
  2649.  TN.255.Portable ROM Expansion - This Technical Note explains the practice 
  2650. of and theory behind compatible use of the expansion ROM in the Macintosh 
  2651. Portable. Due to the unique nature of the Macintosh Portable, developers 
  2652. now have the ability to add ROM to the Macintosh.  To provide for 
  2653. compatible shared use of this ROM space with Apple and other developers, 
  2654. this Note describes the feature and suggests methods of shared 
  2655. implementation.
  2656.  
  2657.  Name  =  TN.256.Stand-Alone Code.cpt
  2658.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.256.Stand-Alone Code.cpt
  2659.  Size:131K         Date: 2/15/91         Version: 
  2660.  AMUG file information and description:
  2661.  TN.256.Stand-Alone Code.cpt - This Technical Note discusses many of the 
  2662. issues related to stand-alone code modules.  This Note is by no means a 
  2663. completely original work, as the author borrows freely from the work of 
  2664. Keith Rollin, Mark Baumwell, and Jim Friedlander. Changes since October 
  2665. 1989. Completely rewritten to broaden the discussion of stand-alone code 
  2666. modules and include a greater scope of examples.  Incorporates Technical 
  2667. Notes #110, MPW: Writing Stand-Alone Code and #145, Debugger FKEY.
  2668.  
  2669.  Name  =  TN.257.Slot Interrupt Priority
  2670.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.257.Slot Interrupt Priority
  2671.  Size:  3K         Date: 2/15/91         Version: 
  2672.  AMUG file information and description:
  2673.  TN.257.Slot Interrupt Priority - This Technical Note describes the way 
  2674. interrupt priorities are scheduled, which corrects the description of slot 
  2675. interrupt queue priorities in the Device Manager chapter of Inside 
  2676. Macintosh, Volume V-426.
  2677.  
  2678.  Name  =  TN.258.Our Checksum Bounced
  2679.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.258.Our Checksum Bounced
  2680.  Size:  6K         Date: 2/15/91         Version: 
  2681.  AMUG file information and description:
  2682.  TN.258.Our Checksum Bounced - This Technical Note discusses a fix to a SCSI
  2683. Manager bug which concerns all developers working with SCSI and NuBus™ 
  2684. device drivers.
  2685.  
  2686.  Name  =  TN.259.Old Style Colors
  2687.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.259.Old Style Colors
  2688.  Size:  8K         Date: 2/15/91         Version: 
  2689.  AMUG file information and description:
  2690.  TN.259.Old Style Colors - This Technical Note covers limitations of the 
  2691. original Macintosh color model (eight-color) which Inside Macintosh, Volume
  2692. I-173, QuickDraw does not document. Changes since October 1989. Added 
  2693. definitions of the old-style constants.
  2694.  
  2695.  Name  =  TN.260.NuBus Power Limits
  2696.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.260.NuBus Power Limits
  2697.  Size:  8K         Date: 2/15/91         Version: 
  2698.  AMUG file information and description:
  2699.  TN.260.NuBus Power Limits - This Technical Note discusses a very real power
  2700. limit for NuBus™ expansion cards and warns developers to heed this limit 
  2701. lest they want users trashing their machines by overextending the Macintosh
  2702. power supply.
  2703.  
  2704.  Name  =  TN.261.Cache As Cache Can
  2705.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.261.Cache As Cache Can
  2706.  Size: 10K         Date: 2/15/91         Version: 
  2707.  AMUG file information and description:
  2708.  TN.261.Cache As Cache Can - This Technical Note documents some new traps 
  2709. for manipulating the data and instruction caches on 68030-based Macintosh 
  2710. models and describes the MMU mapping set up by the ROMs for NuBus™ cards. 
  2711. The Motorola MC68030 CPU used by the Macintosh IIx, IIcx, IIci, and SE/30 
  2712. includes a data cache, an instruction cache, and a MMU (Memory Management 
  2713. Unit).  This Note describes the problems that data caching can cause, 
  2714. Apple’s solution to this problem, and additional information about MMU 
  2715. mapping on MC68030-equipped machines.
  2716.  
  2717.  Name  =  TN.262.Controlling Status Calls
  2718.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.262.Controlling Status Calls
  2719.  Size:  4K         Date: 2/15/91         Version: 
  2720.  AMUG file information and description:
  2721.  TN.262.Controlling Status Calls - This Technical Note discusses situations 
  2722. under which high-level Status calls do not work correctly and PBStatus 
  2723. calls should be made instead.
  2724.  
  2725.  Name  =  TN.263.International Canceling
  2726.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.263.International Canceling
  2727.  Size: 11K         Date: 2/15/91         Version: 
  2728.  AMUG file information and description:
  2729.  TN.263.International Canceling - This Technical Note describes potential 
  2730. problems canceling operations with the Command-period key sequence and 
  2731. international keyboards.
  2732.  
  2733.  Name  =  TN.264.Date & Time Problems
  2734.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.264.Date & Time Problems
  2735.  Size:  6K         Date: 2/15/91         Version: 
  2736.  AMUG file information and description:
  2737.  TN.264.Date & Time Problems - This Technical Note describes known bugs and 
  2738. features in and solutions to the date and time routines introduced in 
  2739. Script Manager 2.0. From the beginning, the Macintosh’s ability to handle 
  2740. dates was limited to a rather small range—slightly more than a century.  
  2741. Enhancements to the Script Manager, introduced with System Software 6.0, 
  2742. extended this range to ±35,000 years.  Unfortunately, there is a minor bug 
  2743. in one of the crucial calls and a “feature” that looks like a bug in 
  2744. another.
  2745.  
  2746.  Name  =  TN.265.Pascal to C PROC Parms
  2747.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.265.Pascal to C PROC Parms
  2748.  Size: 16K         Date: 2/15/91         Version: 
  2749.  AMUG file information and description:
  2750.  TN.265.Pascal to C PROC Parms - This Technical Note talks about nested 
  2751. procedures and PROCEDURE parameters in Pascal and what to do when 
  2752. converting them into C or C++. Changes since February 1990. Fixed some type
  2753. coercion problems.
  2754.  
  2755.  Name  =  TN.266.Pointing Device Struct
  2756.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.266.Pointing Device Struct
  2757.  Size: 18K         Date: 2/15/91         Version: 
  2758.  AMUG file information and description:
  2759.  TN.266.Pointing Device Struct - This Technical Note specifies a memory data
  2760. structure for use by absolute pointing devices; it was developed for the 
  2761. Apple Desktop Bus (ADB) but could also be used for devices using serial 
  2762. input.  Generally, this data structure is created and updated by the 
  2763. pointing device’s driver and read by either an application or the system 
  2764. cursor rendering software.
  2765.  
  2766.  Name  =  TN.267.TE Technicalities
  2767.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.267.TE Technicalities
  2768.  Size:  5K         Date: 2/15/91         Version: 
  2769.  AMUG file information and description:
  2770.  TN.267.TE Technicalities - This Technical Note discusses some areas in 
  2771. TextEdit that have not previously been clearly documented.
  2772.  
  2773.  Name  =  TN.268.MacinTalk Final Chapter
  2774.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.268.MacinTalk Final Chapter
  2775.  Size:  6K         Date: 2/15/91         Version: 
  2776.  AMUG file information and description:
  2777.  TN.268.MacinTalk Final Chapter - This Technical Note discusses the 
  2778. MacinTalk software product. The Introduction. For the introduction of the 
  2779. Macintosh computer, it was decided (by the powers formerly in charge) that 
  2780. such a computer would need something very special to make it a unique 
  2781. event.  To aid in this concept, a third-party company was contracted to 
  2782. write a speech synthesizer which would allow the Macintosh computer to 
  2783. introduce itself.  The contract was signed, and the work begun.
  2784.  
  2785.  Name  =  TN.272.Sony Drives For You
  2786.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.272.Sony Drives For You
  2787.  Size: 25K         Date: 2/15/91         Version: 
  2788.  AMUG file information and description:
  2789.  TN.272.Sony Drives For You - This Technical Note discusses the Sony driver 
  2790. control and status calls that are available on the Macintosh.
  2791. Changes since April 1990. Corrected Figure 2, since the Return Physical 
  2792. Drive Icon (csCode = 21) returns an error message instead of an icon on the
  2793. Macintosh Plus. This Note covers the external (software) interface to the 
  2794. Sony 3.5” floppy disk and Hard Disk 20 driver.  It describes all the new 
  2795. calls, including those for Modified Frequency Modulation (MFM) driver 
  2796. versions.  This discussion assumes a general understanding of the operation
  2797. of Macintosh drivers.
  2798.  
  2799.  Name  =  TN.273.SCSI Termination
  2800.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.273.SCSI Termination
  2801.  Size: 11K         Date: 2/15/91         Version: 
  2802.  AMUG file information and description:
  2803.  TN.273.SCSI Termination - This Technical Note discusses SCSI termination on
  2804. the Macintosh, including the new rules of termination which are necessary 
  2805. with the advent of the high-speed Macintosh IIfx. Changes since April 1990.
  2806. Fixed a typographical error which represented µF as mFWhy Is The Terminator
  2807. After Sarah Connor? One of the features of the Macintosh IIfx is a new SCSI
  2808. chip that provides SCSI data transfer rates up to three megabytes per 
  2809. second, faster than any existing Macintosh model.  To achieve these 
  2810. transfer rates, components on the Macintosh IIfx logic board are smaller 
  2811. and faster, requiring different termination configurations than previous 
  2812. Macintosh models.
  2813.  
  2814.  Name  =  TN.276.Gimmie Depth or Death
  2815.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.276.Gimmie Depth or Death
  2816.  Size:  8K         Date: 2/15/91         Version: 
  2817.  AMUG file information and description:
  2818.  TN.276.Gimmie Depth or Death - This Technical Note describes two new system
  2819. calls that allow an application to change the depth and flags for a given 
  2820. device and also check whether a device supports a particular depth and 
  2821. flags setting.  Apple provides these calls to give developers a better way 
  2822. to help users make changes when they consider it appropriate.  Abusive use 
  2823. of these calls is a sure way to guarantee that the Thought Police come 
  2824. after you to confiscate your Macintoshes, your stock of Mountain Dew®, and 
  2825. your Technical Notes binder.  This Note assumes familiarity with Inside 
  2826. Macintosh, Volume V, Graphics Devices.
  2827.  
  2828.  Name  =  TN.277.Time Space _CopyBits
  2829.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.277.Time Space _CopyBits
  2830.  Size: 25K         Date: 2/15/91         Version: 
  2831.  AMUG file information and description:
  2832.  TN.277.Time Space _CopyBits - This Technical Note describes the various 
  2833. factors that can influence the speed of _CopyBits so that developers can 
  2834. set up conditions to achieve the best performance for the particular 
  2835. situation.
  2836.  
  2837.  Name  =  TN.278._PBClose the Barn Door
  2838.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.278._PBClose the Barn Door
  2839.  Size:  5K         Date: 2/15/91         Version: 
  2840.  AMUG file information and description:
  2841.  TN.278._PBClose the Barn Door - You may get the idea when implementing 
  2842. device drivers that _PBClose is superfluous.  After all, if you have a 
  2843. resident driver for a NuBus™ video board, the only time your driver is not 
  2844. needed is if the operating system is going away.  It might seem that 
  2845. nothing important can happen after the operating system goes away, so why 
  2846. bother with _PBClose?  Well, it turns out a lot can happen, and this Note 
  2847. tells you why it is important to implement a Close (_PBClose) routine.
  2848.  
  2849.  Name  =  TN.279.LDEF Madness
  2850.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.279.LDEF Madness
  2851.  Size:  6K         Date: 2/15/91         Version: 
  2852.  AMUG file information and description:
  2853.  TN.279.LDEF Madness - This Technical Note uncovers a problem with writing 
  2854. Pascal list definition procedures and two (yes, count  ’em, two) different 
  2855. methods to work around it.
  2856.  
  2857.  Name  =  TN.280.MacApp Bugs 3.0
  2858.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.280.MacApp Bugs 3.0
  2859.  Size: 51K         Date: 2/15/91         Version: 
  2860.  AMUG file information and description:
  2861.  TN.280.MacApp Bugs 3.0 - This Technical Note describes the latest 
  2862. information about bugs or unexpected “features” in MacApp.  Where possible,
  2863. solutions and fixes are noted.  DTS intends this Note to be a complete list
  2864. of all known bugs in MacApp and will update it as old bugs are fixed or new
  2865. ones appear.  If you have encountered a bug or unexpected feature which is 
  2866. not described here, be sure to let DTS know.  Specific code examples and 
  2867. suggested fixes are useful.
  2868.  
  2869.  Name  =  TN.281.Multiple Inheritance
  2870.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.281.Multiple Inheritance
  2871.  Size: 10K         Date: 2/15/91         Version: 
  2872.  AMUG file information and description:
  2873.  TN.281.Multiple Inheritance - This Technical Note answers a common question
  2874. about MPW C++:  “Why doesn’t HandleObject support multiple inheritance?”  
  2875. It does this by giving a brief overview of how multiple inheritance is 
  2876. implemented in MPW C++.
  2877.  
  2878.  Name  =  TN.282.Smear Tactics
  2879.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.282.Smear Tactics
  2880.  Size:  5K         Date: 2/15/91         Version: 
  2881.  AMUG file information and description:
  2882.  TN.282.Smear Tactics - This Technical Note discusses a feature of the 
  2883. current Macintosh hardware which will not be supported in the future.  
  2884. Macintosh hardware developers and driver writers should be aware of this 
  2885. limitation as it affects current and future products.
  2886.  
  2887.  Name  =  TN.283.A/UX System Calls
  2888.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.283.A/UX System Calls
  2889.  Size: 21K         Date: 5/18/91         Version: 
  2890.  AMUG file information and description:
  2891.  #283 A/UX System Calls From Macintosh Software. Revised by Anathan 
  2892. Srinivasan & Kent Sandvik January 1991. Written by Rob M. Smith, B. W. 
  2893. Hendrickson & Dave Radcliffe August 1990. This Technical Note discusses how
  2894. to make A/UX system calls from applications developed in the Macintosh 
  2895. environment.  This is useful to anyone porting an existing Macintosh driver
  2896. or application to work on A/UX as well. Changes since August 1990. Added 
  2897. information about how to make use of fork() system calls under MultiFinder,
  2898. as well as how various A/UX system calls behave under the MultiFinder 
  2899. emulation mode. 
  2900.  
  2901.  Name  =  TN.284.IOP Diffs Under A/UX
  2902.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.284.IOP Diffs Under A/UX
  2903.  Size:  6K         Date: 2/15/91         Version: 
  2904.  AMUG file information and description:
  2905.  TN.284.IOP Diffs Under A/UX - This Technical Note discusses use of the 
  2906. Macintosh IIfx IOP-based serial driver under A/UX, especially under certain
  2907. error conditions which cause it to perform differently than documented in 
  2908. termio(7).  (The SCC driver, used on non-IOP machines, conforms to 
  2909. termio(7) in all cases.)  References to “the driver” herein refer to the 
  2910. IOP-based serial driver, seriop.c.
  2911.  
  2912.  Name  =  TN.285.GetPhysical
  2913.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.285.GetPhysical
  2914.  Size: 20K         Date: 5/18/91         Version: 
  2915.  AMUG file information and description:
  2916.  #285 Coping With VM and Memory Mappings. Revised by Craig Prouse April 
  2917. 1991 Written by Craig Prouse February 1991. The purpose of this Note is 
  2918. twofold.  First, it describes in detail how to use the GetPhysical routine.
  2919. This routine is critical to the support of alternate bus masters on certain
  2920. machines without Virtual Memory (VM) and all machines with VM. Included is
  2921. an ancillary discussion of several closely-related VM routines. Second, it
  2922. reiterates a number of issues important to VM compatibility and elucidates 
  2923. some of the deeper VM issues of which specialized developers should be 
  2924. aware.
  2925.  
  2926.  Name  =  TN.286.GPi The Reliable Way
  2927.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.286.GPi The Reliable Way
  2928.  Size:  9K         Date: 4/28/91         Version: 
  2929.  AMUG file information and description:
  2930.  #286 - The Serial General-Purpose Input (GPi). Written by Craig Prouse 
  2931. February 1991. This Technical Note discusses the latest supported methods 
  2932. for reading, validating, and configuring the GPi serial input across all 
  2933. members of the Macintosh family.
  2934.  
  2935.  Name  =  TN.287.Spare A Block
  2936.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.287.Spare A Block
  2937.  Size: 13K         Date: 4/28/91         Version: 
  2938.  AMUG file information and description:
  2939.  #287 Hey Buddy, Can You Spare A Block? Written by Philip D. L. Koch, Jim 
  2940. Reekes, & Kenny Tung February 1991. This Technical Note discusses a new 
  2941. feature of the System Software 7.0 Disk Initialization Package—bad block 
  2942. sparing.
  2943.  
  2944.  Name  =  TN.288.NuBus Block Transfers
  2945.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.288.NuBus Block Transfers
  2946.  Size: 11K         Date: 4/28/91         Version: 
  2947.  AMUG file information and description:
  2948.  #288 NuBus Block Transfer Mode sResource Entries. Written by Guillermo 
  2949. Ortiz February 1991. This Technical Note describes the sResource entries 
  2950. needed in a declaration ROM to inform NuBus™ masters when a board is 
  2951. capable of receiving or sending block transfers.
  2952.  
  2953.  Name  =  TN.289._CopyBits & GC QuickDraw
  2954.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.289._CopyBits & GC QuickDraw
  2955.  Size:  7K         Date: 4/28/91         Version: 
  2956.  AMUG file information and description:
  2957.  #289 Deaccelerated _CopyBits & 8•24 GC QuickDraw. Written by Guillermo A. 
  2958. Ortiz February 1991. This Technical Note discusses conditions that may 
  2959. cause _CopyBits to slow down when QuickDraw acceleration is on via the 
  2960. Apple 8•24 GC Display Card.
  2961.  
  2962.  Name  =  TN.290.WDEF and wDraw
  2963.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.290.WDEF and wDraw
  2964.  Size:  4K         Date: 4/28/91         Version: 
  2965.  AMUG file information and description:
  2966.  #290 Custom WDEF and wDraw. Written by Vincent Lo February 1991. This 
  2967. Technical Note explains why custom window definition functions may not
  2968. respond to a wDraw message from the system (if you follow the documentation
  2969. in Inside Macintosh).
  2970.  
  2971.  Name  =  TN.291.CMOS On LC PDS
  2972.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.291.CMOS On LC PDS
  2973.  Size:  4K         Date: 4/28/91         Version: 
  2974.  AMUG file information and description:
  2975.  #291 CMOS On Macintosh LC PDS. Written by Paul Baker & Rich Collyer 
  2976. February 1991. This Technical Note provides PDS card developers with some 
  2977. important information about making PDS cards for the Macintosh LC.
  2978.  
  2979.  Name  =  TN.292.Bus Error Handlers
  2980.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.292.Bus Error Handlers
  2981.  Size: 11K         Date: 4/28/91         Version: 
  2982.  AMUG file information and description:
  2983.  #292 Bus Error Handlers. Written by Wayne Meretsky & Rich Collyer February 
  2984. 1991. This Technical Note discusses bus errors and how applications and 
  2985. drivers should deal with them.
  2986.  
  2987.  Name  =  TN.293.Excellent CD Notes
  2988.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.293.Excellent CD Notes
  2989.  Size: 13K         Date: 4/28/91         Version: 
  2990.  AMUG file information and description:
  2991.  #293 Most Excellent CD Notes. Written by James Beninghaus February 1991
  2992. This Technical Note discusses issues concerning the use of the AppleCD SC 
  2993. drive, the Apple CD-ROM device driver, and the Foreign File Access software
  2994. extension.
  2995.  
  2996.  Name  =  TN.300.My Life as a ... (MW)
  2997.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.300.My Life as a ... (MW)
  2998.  Size: 12K         Date: 9/28/91         Version: 
  2999.  AMUG file information and description:
  3000.  Technical Note #300 - This Technical Note discusses the PascalObject base 
  3001. class, used, for instance, with MacApp programming. The Technical Note 
  3002. describes how to write PascalObject derived classes that work with both 
  3003. Object Pascal and C++ code linking. It also describes the current 
  3004. restrictions and bugs with writing C++ code using PascalObject as the base 
  3005. class. This Technical Note is based on MacApp 2.0(.1), MPW 3.2 and MPW C++ 
  3006. 3.1.
  3007.  
  3008.  Name  =  TN.301.File Sharing and Shared
  3009.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.301.File Sharing and Shared
  3010.  Size:  9K         Date: 9/28/91         Version: 
  3011.  AMUG file information and description:
  3012.  Technical Note #301 - This Note describes modifications to the existing 
  3013. File Manager routines, PBGetCatInfo, PBHGetDirAccess, PBHSetDirAccess, 
  3014. PBHSetFLock and PBHRstFLock, when used on volumes prepared by Macintosh 
  3015. System 7 File Sharing.
  3016.  
  3017.  Name  =  TN.302.Help For Movable(MW)
  3018.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.302.Help For Movable(MW)
  3019.  Size:  6K         Date: 9/28/91         Version: 
  3020.  AMUG file information and description:
  3021.  Technical Note #302 - This Technical Note describes the process by which an
  3022. application can remap the Help Manager 'hmnu' resource while a movable 
  3023. modal dialog box is on the screen. The Help Manager handles the case for 
  3024. modal dialog boxes but punts in the case of movable modal dialog boxes. The
  3025. following information will help you get the correct interface performance.
  3026.  
  3027.  Name  =  TN.303.PurgeProc Note(MW)
  3028.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.303.PurgeProc Note(MW)
  3029.  Size:  6K         Date: 9/28/91         Version: 
  3030.  AMUG file information and description:
  3031.  Technical Note #303 - This Technical Note discusses the use of the 
  3032. purgeProc field of an application’s heap zone. Most applications will never
  3033. need to use a purgeProc. However, if your application requires the ability 
  3034. to maintain purgeable handles containing data, or you need to have special 
  3035. notification when a certain handle is purged, a purgeProc might help you.
  3036.  
  3037.  Name  =  TN.304.Update Perils(MW)
  3038.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.304.Update Perils(MW)
  3039.  Size: 14K         Date: 9/28/91         Version: 
  3040.  AMUG file information and description:
  3041.  Technical Note #304 - This Technical Note discusses potential problems when
  3042. pending update events for windows behind modal dialogs are not serviced.  
  3043. This note also documents some new System 7 Dialog Manager calls.
  3044.  
  3045.  Name  =  TN Indices 10-90.dd
  3046.  Path =  AMUG CD:Files:MacTechNotes:TN Indices 10-90.dd
  3047.  Size:116K         Date: 2/15/91         Version: 
  3048.  AMUG file information and description:
  3049.  TN Indices 10-90.dd is the Technotes indices from 10-91.
  3050.  
  3051.  Name  =  TN Stack Fonts
  3052.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:TN Stack Fonts
  3053.  Size: 19K         Date: 2/15/91         Version: 
  3054.  AMUG file information and description:
  3055.  TN Stack Fonts contains the necessary fonts for running your TN Stack.
  3056.  
  3057.  Name  =  Tech Note PICTs.dd
  3058.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:Tech Note PICTs.dd
  3059.  Size:187K         Date: 2/15/91         Version: 
  3060.  AMUG file information and description:
  3061.  Tech Note PICTs.dd contains various picts for the Tech notes provided in 
  3062. this section.
  3063.  
  3064.  Name  =  Technical Notes Stack 3.2.1
  3065.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:Technical Notes Stack 3.2.1
  3066.  Size:983K         Date: 2/15/91         Version: 3.2.1
  3067.  AMUG file information and description:
  3068.  Technical Notes Stack 3.2.1 is a complete listing of all Tech Notes in 
  3069. hypercard format.
  3070.  
  3071.